1. ExamplesΒΆ

(add(x = 3 -> int; y = 3 -> int)) int
    <*>x+y
D = [2, 4, 6, 8, 10]

G = {'a', 'b', 'c'}

C = {'a': (3+5), 'b': 8, 'c': True, 4: None, 'd': 6**2*5+3}

This is implemented using the library pyrsistent.

`any woma function can be closed in place to become an instance that complies with the`
`type specification or Undefined for instances that breach the type specification contract`
x = Add(3, 3)...

`seamless exception handling allows tracing of undefined code branches`
y = Add(4, 3.5)...

`mixed usage of closure and regular function calls`
z = Add(x(), 3)

`Scala-style closure functions`
scala = _ * 2
val = scala(_ + _)
val = val(scala)...