git.iko.soy
/
rowtype-yoga/purescript-native
readme
files
commits
refs
on
golang
help
sign in
Merge pull request #350 from garyb/astypeof
Add asTypeOf to prelude
commit
2fe0a83fa85117e71b9e2583cee9ff5ec340bca3
author
Phil Freeman
<paf31@cantab.net>
date
Sat 5 Apr 2014, 09:17
(13 years ago)
parent
883c6b1
beb9bd8
1 file changed
+3
compare with golang
unified
split
prelude/prelude.purs
+3
prelude/prelude.purs
+3
@@ -8,6 +8,9 @@ module Prelude where
8
8
9
9
on :: forall a b c. (b -> b -> c) -> (a -> b) -> a -> a -> c
10
10
on f g x y = g x `f` g y
11
+
12
+
asTypeOf :: forall a. a -> a -> a
13
+
asTypeOf x _ = x
11
14
12
15
infixr 9 >>>
13
16
infixr 9 <<<
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