L7 Flashcards

1
Q

In what sense is SysF explicit?

A

176-177

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does type inference work?

A

178

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are effects?

A

179-182

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is state?

A

183

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give a type system for state

A

184

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Give opsem for StateLan

A

185-186

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give term typing rules in StateLan

A

187-188

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Strategy for proving type safety in StateLan

A

189

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Store and configuration typing rules in StateLan

A

190

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which naively stated safety theorem is broken?

A

191

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Store extension

A

192

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Substitution and structural properties of StateLan

A

193

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Progress for StateLan

A

194

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Preservation for StateLan

A

195

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why state reduces ability to statically analyse

A

196-197

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Landin’s knot

A

198

17
Q

Why is termination no longer a theorem

A

199

18
Q

Explain whether we have to choose between state/effects and logical consistency

A

200

19
Q
  1. Using Landin’s knot, implement the fibonacci function.
A

201

20
Q
  1. The type safety proof for state would fail if we added a C-like free() operation to the reference API.
  2. 1 Give a plausible-looking typing rule and operational semantics for free.
  3. 2 Find an example of a program that would break.
A

202