mirror of
https://github.com/monadicsystems/okapi.git
synced 2024-11-24 02:48:03 +03:00
Fix README
This commit is contained in:
parent
743e3e4e2f
commit
ae6e25b4f2
@ -78,7 +78,6 @@ binaryHandler operator x y ok wrongArgs divByZeroErr _req =
|
|||||||
else ok noHeaders (div x y)
|
else ok noHeaders (div x y)
|
||||||
_ -> wrongArgs noHeaders $ Text.pack (show operator) <> " needs one argument."
|
_ -> wrongArgs noHeaders $ Text.pack (show operator) <> " needs one argument."
|
||||||
|
|
||||||
calc :: Node '[]
|
|
||||||
calc = shared $ choice
|
calc = shared $ choice
|
||||||
[ unary unaryHandler
|
[ unary unaryHandler
|
||||||
, binary binaryHandler
|
, binary binaryHandler
|
||||||
|
Loading…
Reference in New Issue
Block a user