Hashell

From Esolang
Jump to navigation Jump to search

hashell is a version of haskell thats hell to use. it is a very minimal haskell subset

the subset

hashell permits only these chars: =>\[]().:`-?x_*& which are executed in haskell

operators

with this subset you can create some operators:

(.).(.) which takes a one-parameter function on the left and a two-parameter function on the right, and yields a new two-parameter function that passes the result of the right-hand function to the left-hand one(cant be used in pure form must be variable)
>>= which is haskell bind operator
(:[]) a function that takes a value and produces the singleton list containing that value
(&&&) takes two functions and makes a tuple updater
(***) takes two functions and makes a tuple-making function out of them
. the same as B from Combinatory logic(lol)

and heres some operators that idk what they do:

>>
:>