Created
September 11, 2017 04:14
-
-
Save joneshf/1d8c0b5d3014324d19eabdb333eca2f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Control.Monad.Eff.Console (log) | |
import Data.List ((..)) | |
import TryPureScript (render, withConsole) | |
main = render =<< withConsole do | |
log $ lazyConst "compiles quick" (bottom .. top) | |
lazyConst :: forall a b. a -> (Lazy => b) -> a | |
lazyConst x _ = x | |
-- N.B. We don't even need the instance defined anywhere because we never use it! | |
class Lazy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment