Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
feat: 3 new native functions exposed: identity, const and pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
prescientmoon committed Apr 26, 2020
1 parent 766745e commit ee9bf09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Dataflow/Native/Function.purs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ typeConst = Forall [ input, ignore ] $ TArrow (TVarariable input) $ TArrow (TVar
const' :: NativeConfig
const' =
NativeConfig
{ name: FunctionName "pipe"
{ name: FunctionName "const"
, expression: (NativeExpression typeConst $ binaryFunction const)
, functionData:
internal
Expand Down

0 comments on commit ee9bf09

Please sign in to comment.