git.iko.soy/rowtype-yoga/purescript-native
on e82e607 help sign in
13 lines 442 B history raw
1module Main where
3foreign import first "function first(xs) { return xs[0]; }" :: forall a. [a] -> a
5foreign import loop "function loop() { while (true) {} }" :: forall a. a
7foreign import concat "function concat(xs) { \
8 \ return function(ys) { \
9 \ return xs.concat(ys); \
10 \ };\
11 \}" :: forall a. [a] -> [a] -> [a]
13main = Debug.Trace.trace "Done"