git.iko.soy/rowtype-yoga/purescript-native
on 8d2a2ff help sign in
23 lines 505 B history raw
1# Maybe
2mkdir -p tests && ../../dist/build/psc/psc ../passing/Maybe.purs -o tests/Maybe.js && cat tests/Maybe.js Maybe.js | nodejs
3<<<
4>>>
5{ ctor: 'Just', value: 'ab' }
6>>>2
7>>>= 0
9# List
10mkdir -p tests && ../../dist/build/psc/psc ../passing/List.purs -o tests/List.js && cat tests/List.js List.js | nodejs
11<<<
12>>>
13[ 1, 2 ]
14>>>2
15>>>= 0
17# Foreach
18mkdir -p tests && ../../dist/build/psc/psc ../passing/Foreach.purs -o tests/Foreach.js && cat tests/Foreach.js Foreach.js | nodejs
19<<<
20>>>
2115
22>>>2
23>>>= 0