-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorial: Types: UN
molarmanful edited this page Nov 26, 2023
·
4 revisions
Analogous to undefined
/null
/nil
in other languages. Another way of thinking
about UN
is: assuming all sclin types are Maybe ANY
, UN
is Nothing
and
the other types are Just ANY
.
UN
UN
is falsy, and generally converts falsily to other types.
[ \>? \>N \>S \>A ] ( UN swap # ) map ,_
=> [$F 0 "" []]
Made with ❤️ by Ben Pang (@molarmanful).