+3
-1
@@ -167,7 +167,9 @@ test-suite doctest
|
||||
import: ghcstuffs, ghcstuffs-dev
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
build-depends: base
|
||||
build-depends:
|
||||
, base
|
||||
, gyehoek
|
||||
default-extensions: CPP
|
||||
main-is: doctest.hs
|
||||
|
||||
|
||||
@@ -107,7 +107,17 @@ list
|
||||
list = listWithIndentation Ordinary
|
||||
|
||||
-- |
|
||||
-- >>> decodeTest @(Int,Int) (with \g -> dottedList (el int) int >>> g) "(1 . 2)"
|
||||
-- >>> let grammar = with \g -> dottedList (el int) int >>> g
|
||||
-- >>> decodeTest @(Int,Int) grammar "(1 . 2)"
|
||||
-- ( 1
|
||||
-- , 2
|
||||
-- )
|
||||
-- >>> let grammar = with \g -> dottedList (el int >>> el int) int >>> g
|
||||
-- >>> decodeTest @(Int,Int,Int) grammar "(1 2 . 3)"
|
||||
-- ( 1
|
||||
-- , 2
|
||||
-- , 3
|
||||
-- )
|
||||
dottedList
|
||||
:: forall t t' t''. G (ListContext :- t) (ListContext :- t')
|
||||
-> G (Datum :- t') t''
|
||||
|
||||
@@ -29,11 +29,11 @@ brokenWasmTests =
|
||||
|
||||
brokenStackifyTests :: List String
|
||||
brokenStackifyTests =
|
||||
[]
|
||||
-- [ "adder"
|
||||
-- , "let-fn"
|
||||
-- , "callcc-nested1" -- requires closure-conversion
|
||||
-- ]
|
||||
[ "callcc-early-exit-1"
|
||||
, "callcc-early-exit-4"
|
||||
, "callcc-early-exit-5"
|
||||
, "callcc-early-exit-6"
|
||||
]
|
||||
|
||||
test_root :: IO TestTree
|
||||
test_root = do
|
||||
|
||||
Reference in New Issue
Block a user