Skip to content

Instantly share code, notes, and snippets.

@joneshf
Created May 14, 2018 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joneshf/1af9864a819c0c05f5e348b21a20ed0d to your computer and use it in GitHub Desktop.
Save joneshf/1af9864a819c0c05f5e348b21a20ed0d to your computer and use it in GitHub Desktop.
mkFnN optimization
module Main where
import Prelude
import Data.Function.Uncurried (mkFn1)
foo = mkFn1 \_ -> 4
bar = mkFn1 $ const 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment