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
(load "nilp.lisp") | |
(eval | |
(read-from-string | |
(write-to-string | |
(nility | |
'(loop for i below 10 | |
do (format t "~@(~:r hello world!~)~%" i)))))) |
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
#!/usr/bin/env stack | |
-- stack --resolver lts-18.5 script --package template-haskell --package refined | |
{-# LANGUAGE TemplateHaskell, TypeApplications #-} | |
import Refined | |
import Data.Either | |
import RefinedTestDefinitions | |
refinedTypeAppliedTest :: RefinedTest Int |
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
{-# LANGUAGE TemplateHaskell #-} | |
module Main where | |
import Reificator | |
main :: IO () | |
main = pure $$(guardTH (operationTest 11 7 4) [|| () ||]) |
OlderNewer