backup commit of notes so far
This commit is contained in:
6
examples/lite/option.orc
Normal file
6
examples/lite/option.orc
Normal file
@@ -0,0 +1,6 @@
|
||||
export some := \v. \d.\f. f v
|
||||
export none := \d.\f. d
|
||||
|
||||
export map := \option.\f. option none f
|
||||
export flatten := \option. option none \opt. opt
|
||||
export flatmap := \option.\f. option none \opt. map opt f
|
||||
Reference in New Issue
Block a user