git.iko.soy
/
rowtype-yoga/purescript-native
readme
files
commits
refs
on
golang
help
sign in
Add examples/shouldpass
cab0fff
Phil Freeman
13 years ago
examples/shouldpass/NestedTypeSynonyms.purs
new file
+9
compare with golang
unified
split
@@ -0,0 +1,9 @@
1
+
module Test where
2
+
3
+
type X = {}
4
+
type Y = X -> X
5
+
6
+
fn :: Y
7
+
fn a = a
8
+
9
+
test = fn {}
examples/shouldpass/TypeClasses.purs
new file
+8
@@ -0,0 +1,8 @@
1
+
module Main where
2
+
3
+
import Prelude
4
+
import Either
5
+
6
+
instance Prelude.Functor (Either a) where
7
+
(<$>) _ (Left x) = Left x
8
+
(<$>) f (Right y) = Right (f y)
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list