Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Monads-Maybe-monad/Hoon/monads-maybe-monad.hoon
Normal file
19
Task/Monads-Maybe-monad/Hoon/monads-maybe-monad.hoon
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
:- %say
|
||||
|= [^ [[txt=(unit ,@tas) ~] ~]]
|
||||
:- %noun
|
||||
|^
|
||||
%+ biff txt
|
||||
;~ biff
|
||||
m-parse
|
||||
m-double
|
||||
==
|
||||
++ m-parse
|
||||
|= a=@tas
|
||||
^- (unit ,@ud)
|
||||
(rust (trip a) dem)
|
||||
::
|
||||
++ m-double
|
||||
|= a=@ud
|
||||
^- (unit ,@ud)
|
||||
(some (mul a 2))
|
||||
--
|
||||
Loading…
Add table
Add a link
Reference in a new issue