File tree Expand file tree Collapse file tree 8 files changed +10
-13
lines changed
Expand file tree Collapse file tree 8 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 11.stack-work /
2- * ~
2+ * ~
3+ .metals
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ module Functions (
44
55helloWorld :: Int -> String
66helloWorld a = " Hello World" ++ show a
7+
Original file line number Diff line number Diff line change @@ -18,5 +18,3 @@ main = do
1818
1919 print " ---------"
2020 funMain
21-
22-
Original file line number Diff line number Diff line change 1- -- MTL is an acronym and stands for Monad Transformer Library
21module MtlEx (
32 runMtlEx ,
43 calcMltEx
Original file line number Diff line number Diff line change 1- module Collatz where
1+ module Collatz ( step , collatz ) where
22
33-- The module is interested in the Collatz conjecture, a famous open problem in mathematics. It asks:
44-- Does the Collatz sequence eventually reach 1 for all positive integer initial values?
Original file line number Diff line number Diff line change 1- module Set1 where
1+ module Set1 ( module Set1 ) where
22
33------------------------------------------------------------------------------
44-- Ex 1: define variables one and two. They should have type Int and
Original file line number Diff line number Diff line change 1717#
1818# resolver: ./custom-snapshot.yaml
1919# resolver: https://example.com/snapshots/2018-01-01.yaml
20- resolver :
21- url : https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/17.yaml
20+ resolver : lts-21.25
2221
2322# User packages to be built.
2423# Various formats can be used as shown in the example below.
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ packages:
2020 hackage: ghci-dap-0.0.21.0@sha256:5a14d13b15701887b3fcc9ff631b676891c1b5dc22fcefeee1ec2832c1eb18b0,3326
2121snapshots:
2222- completed:
23- sha256: 85d2382958c178491d3fe50d770a624621f5ab456beef7d31ac7521f780c9bc7
24- size: 640042
25- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/17.yaml
26- original:
27- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/17.yaml
23+ sha256: a81fb3877c4f9031e1325eb3935122e608d80715dc16b586eb11ddbff8671ecd
24+ size: 640086
25+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/25.yaml
26+ original: lts-21.25
You can’t perform that action at this time.
0 commit comments