diff options
Diffstat (limited to 'testsuite/tests/module/mod105.hs')
-rw-r--r-- | testsuite/tests/module/mod105.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod105.hs b/testsuite/tests/module/mod105.hs new file mode 100644 index 0000000000..2ae72ba491 --- /dev/null +++ b/testsuite/tests/module/mod105.hs @@ -0,0 +1,9 @@ +-- !!! Re-defining Prelude entities +module Ring where +import qualified Prelude +import Data.List ( nub ) + +l1 + l2 = l1 Prelude.++ l2 +l1 * l2 = nub (l1 + l2) + +succ = (Prelude.+ 1) |