Module
FFI.Simple.Functions
- Package
- purescript-ffi-simple
- Repository
- garganscript/purescript-ffi-simple
Utilities for dealing with (uncurried) functions
#new Source
new :: forall f a o. f -> a -> o
Call new on the function with an array or pseudoarray of arguments
#applyTo Source
applyTo :: forall f this a b. f -> this -> a -> b
Apply a function to a this object with the given arguments
#applyMethod Source
applyMethod :: forall o a b. String -> o -> a -> b
Lookup and apply the method with the given name on the given object to the given this and an array or pseudoarray of arguments
#applyMethod' Source
applyMethod' :: forall o a b. o -> String -> a -> b
flip applyMethod
#args1 Source
args1 :: forall a. a -> PseudoArray
returns an argument as a PseudoArray
#args2 Source
args2 :: forall a b. a -> b -> PseudoArray
returns 2 arguments as a PseudoArray
#args3 Source
args3 :: forall a b c. a -> b -> c -> PseudoArray
returns 3 arguments as a PseudoArray
#args4 Source
args4 :: forall a b c d. a -> b -> c -> d -> PseudoArray
returns 4 arguments as a PseudoArray
#args5 Source
args5 :: forall a b c d e. a -> b -> c -> d -> e -> PseudoArray
returns 5 arguments as a PseudoArray
#args6 Source
args6 :: forall a b c d e f. a -> b -> c -> d -> e -> f -> PseudoArray
returns 6 arguments as a PseudoArray
#args7 Source
args7 :: forall a b c d e f g. a -> b -> c -> d -> e -> f -> g -> PseudoArray
returns 7 arguments as a PseudoArray
#args8 Source
args8 :: forall a b c d e f g h. a -> b -> c -> d -> e -> f -> g -> h -> PseudoArray
returns 8 arguments as a PseudoArray
#args9 Source
args9 :: forall a b c d e f g h i. a -> b -> c -> d -> e -> f -> g -> h -> i -> PseudoArray
returns 9 arguments as a PseudoArray
#args10 Source
args10 :: forall a b c d e f g h i j. a -> b -> c -> d -> e -> f -> g -> h -> i -> j -> PseudoArray
returns 9 arguments as a PseudoArray