Added Prelude/maybe 75/1875/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 21 Jun 2018 15:01:28 +0000 (18:01 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 21 Jun 2018 15:01:28 +0000 (18:01 +0300)
commit77e4291d372e7b4b40ee868ad61cc07c51de8c6b
tree3087140c28ff718af968f1282f7d9b6dd3d1ba5a
parent6e64e280f5eb25df3d2de751913bd20269f7ebcc
Added Prelude/maybe

`maybe def f v` returns `def` if `v=Nothing` and `f x` if `v=Just x`.

gitlab #31

Change-Id: I3319ee8e9e4cf678aece4878c1fb2ddf33395bc4
bundles/org.simantics.scl.runtime/scl/Prelude.scl