Commit Graph

14 Commits

Author SHA1 Message Date
hellerve
32d4095a5d core: make NULL Ptr a instead of a 2020-05-18 23:21:16 +02:00
Scott Olsen
f13a2fdd9d Add some more calls to implement to make tests pass 2020-05-10 13:32:22 -04:00
Erik Svedäng
6f70dbd18e Merge branch 'master' into match-on-refs 2020-05-05 13:57:58 +02:00
hellerve
918c893189 core: implement zero for Maybe and Result 2020-04-30 14:22:06 +02:00
hellerve
a06c1dc91c core: change maybe and result to match on refs if possible 2020-04-30 12:57:27 +02:00
hellerve
3ebe10d587 core: make Maybe.apply take function ref 2020-01-25 14:08:37 +01:00
GrayJack
2c0fcbd6c9 Changes Maybe.ptr to Maybe.unsafe-ptr and all it's ocurrences 2019-10-31 05:38:47 -03:00
Jorge Acereda
db6e5b87e7 Add Unsafe.coerce
Used for Maybe.ptr, fixes #494.
2019-06-17 19:30:16 +02:00
hellerve
538c4370dd core: add Maybe.or-zero 2019-06-12 08:49:54 +02:00
hellerve
79a0fb77c5 core: add Maybe.ptr and Maybe.from-ptr, references #287 2019-05-03 13:49:33 +02:00
hellerve
e24fd38258 sumtypes: multiple fixes
- add test suite for Result
- make Array a little safer overall
- document Maybe and Result comprehensively
- rework Array documentation
2019-02-15 10:24:47 +01:00
hellerve
e54ead1922 all: various sumtype fixes
- add get-maybe to Map
- add tests
- fix emitter error on ref types
2019-02-13 11:46:20 +01:00
hellerve
c6a440d477 core: extend maybe and rework vector with it 2019-02-13 11:42:16 +01:00
Erik Svedäng
da8fb684c9 Some memory tests, etc. 2019-02-01 14:07:10 +01:00