Skip to content

all-exercises: Add/move versioning to package.yaml #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 81 commits into from
May 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
bf1d41c
accumulate: Add/move versioning to package.yaml
rbasso May 6, 2017
1f8962e
acronym: Add/move versioning to package.yaml
rbasso May 6, 2017
28084b2
all-your-base: Add/move versioning to package.yaml
rbasso May 6, 2017
1a0c02d
allergies: Add/move versioning to package.yaml
rbasso May 6, 2017
c94cc5f
alphametics: Add/move versioning to package.yaml
rbasso May 6, 2017
5cf7538
anagram: Add/move versioning to package.yaml
rbasso May 6, 2017
55821a3
atbash-cipher: Add/move versioning to package.yaml
rbasso May 6, 2017
386ea11
bank-account: Add/move versioning to package.yaml
rbasso May 6, 2017
e78cf7f
beer-song: Add/move versioning to package.yaml
rbasso May 6, 2017
a85c3dc
binary: Add/move versioning to package.yaml
rbasso May 6, 2017
c057880
binary-search-tree: Add/move versioning to package.yaml
rbasso May 6, 2017
0535941
bob: Add/move versioning to package.yaml
rbasso May 6, 2017
f2a84cd
bowling: Add/move versioning to package.yaml
rbasso May 6, 2017
64bcced
bracket-push: Add/move versioning to package.yaml
rbasso May 6, 2017
755023d
change: Add/move versioning to package.yaml
rbasso May 6, 2017
12b0ad1
clock: Add/move versioning to package.yaml
rbasso May 6, 2017
c3d4269
connect: Add/move versioning to package.yaml
rbasso May 6, 2017
a63e373
crypto-square: Add/move versioning to package.yaml
rbasso May 6, 2017
1d8a322
custom-set: Add/move versioning to package.yaml
rbasso May 6, 2017
dfb2010
difference-of-squares: Add/move versioning to package.yaml
rbasso May 6, 2017
5b7b31d
dominoes: Add/move versioning to package.yaml
rbasso May 6, 2017
4043102
etl: Add/move versioning to package.yaml
rbasso May 6, 2017
1cc4fc0
food-chain: Add/move versioning to package.yaml
rbasso May 6, 2017
0fef10a
forth: Add/move versioning to package.yaml
rbasso May 6, 2017
c95ad9f
gigasecond: Add/move versioning to package.yaml
rbasso May 6, 2017
197d0fb
go-counting: Add/move versioning to package.yaml
rbasso May 6, 2017
7cfd403
grade-school: Add/move versioning to package.yaml
rbasso May 6, 2017
21efca5
grains: Add/move versioning to package.yaml
rbasso May 6, 2017
adab01f
hamming: Add/move versioning to package.yaml
rbasso May 6, 2017
5ae68ef
hello-world: Add/move versioning to package.yaml
rbasso May 6, 2017
bf3ee74
hexadecimal: Add/move versioning to package.yaml
rbasso May 6, 2017
b1429de
house: Add/move versioning to package.yaml
rbasso May 6, 2017
b1b10ce
kindergarten-garden: Add/move versioning to package.yaml
rbasso May 6, 2017
7179842
largest-series-product: Add/move versioning to package.yaml
rbasso May 6, 2017
ffca771
leap: Add/move versioning to package.yaml
rbasso May 6, 2017
e2d1e7c
lens-person: Add/move versioning to package.yaml
rbasso May 6, 2017
046852e
linked-list: Add/move versioning to package.yaml
rbasso May 6, 2017
9734821
list-ops: Add/move versioning to package.yaml
rbasso May 6, 2017
3476306
luhn: Add/move versioning to package.yaml
rbasso May 6, 2017
c232faa
matrix: Add/move versioning to package.yaml
rbasso May 6, 2017
488a2a9
meetup: Add/move versioning to package.yaml
rbasso May 6, 2017
1e4990d
minesweeper: Add/move versioning to package.yaml
rbasso May 6, 2017
77b7ad9
nth-prime: Add/move versioning to package.yaml
rbasso May 6, 2017
35f5ead
nucleotide-count: Add/move versioning to package.yaml
rbasso May 6, 2017
3f1cbf1
ocr-numbers: Add/move versioning to package.yaml
rbasso May 6, 2017
61ca901
octal: Add/move versioning to package.yaml
rbasso May 6, 2017
6f0bac9
palindrome-products: Add/move versioning to package.yaml
rbasso May 6, 2017
e0ca344
pangram: Add/move versioning to package.yaml
rbasso May 6, 2017
1995953
parallel-letter-frequency: Add/move versioning to package.yaml
rbasso May 6, 2017
5d48ea4
pascals-triangle: Add/move versioning to package.yaml
rbasso May 6, 2017
99ce9fe
phone-number: Add/move versioning to package.yaml
rbasso May 6, 2017
ecbcf4a
pig-latin: Add/move versioning to package.yaml
rbasso May 6, 2017
dbe8481
pov: Add/move versioning to package.yaml
rbasso May 6, 2017
c9792b9
prime-factors: Add/move versioning to package.yaml
rbasso May 6, 2017
261545d
pythagorean-triplet: Add/move versioning to package.yaml
rbasso May 6, 2017
b7db5d9
queen-attack: Add/move versioning to package.yaml
rbasso May 6, 2017
210f9f3
raindrops: Add/move versioning to package.yaml
rbasso May 6, 2017
c6e7cc4
rna-transcription: Add/move versioning to package.yaml
rbasso May 6, 2017
fd14fa7
robot-name: Add/move versioning to package.yaml
rbasso May 6, 2017
dee59d7
robot-simulator: Add/move versioning to package.yaml
rbasso May 6, 2017
1b01fcb
roman-numerals: Add/move versioning to package.yaml
rbasso May 6, 2017
b11bd8c
run-length-encoding: Add/move versioning to package.yaml
rbasso May 6, 2017
f21aa75
saddle-points: Add/move versioning to package.yaml
rbasso May 6, 2017
aba6563
say: Add/move versioning to package.yaml
rbasso May 6, 2017
8b779e5
scrabble-score: Add/move versioning to package.yaml
rbasso May 6, 2017
8113d18
secret-handshake: Add/move versioning to package.yaml
rbasso May 6, 2017
2eae385
series: Add/move versioning to package.yaml
rbasso May 6, 2017
0e8e2e9
sgf-parsing: Add/move versioning to package.yaml
rbasso May 6, 2017
6edbe5b
sieve: Add/move versioning to package.yaml
rbasso May 6, 2017
a32f7bb
simple-cipher: Add/move versioning to package.yaml
rbasso May 6, 2017
5c90fec
simple-linked-list: Add/move versioning to package.yaml
rbasso May 6, 2017
6f7654f
space-age: Add/move versioning to package.yaml
rbasso May 6, 2017
7b04733
strain: Add/move versioning to package.yaml
rbasso May 6, 2017
baa5e04
sublist: Add/move versioning to package.yaml
rbasso May 6, 2017
d8adf49
sum-of-multiples: Add/move versioning to package.yaml
rbasso May 6, 2017
ac5f16c
triangle: Add/move versioning to package.yaml
rbasso May 6, 2017
b74d995
trinary: Add/move versioning to package.yaml
rbasso May 6, 2017
0940f5e
word-count: Add/move versioning to package.yaml
rbasso May 6, 2017
5ec8038
wordy: Add/move versioning to package.yaml
rbasso May 6, 2017
b5e8835
zebra-puzzle: Add/move versioning to package.yaml
rbasso May 6, 2017
ee03ff7
zipper: Add/move versioning to package.yaml
rbasso May 6, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions exercises/accumulate/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: accumulate
version: 0.1.0.1

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/accumulate/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "accumulate" $ do

-- As of 2016-07-27, there was no reference file
-- for the test cases in `exercism/x-common`.

let square x = x * x :: Int

it "empty accumulation" $
Expand Down
1 change: 1 addition & 0 deletions exercises/acronym/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: acronym
version: 1.0.0.1

dependencies:
- base
Expand Down
5 changes: 0 additions & 5 deletions exercises/acronym/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ specs = describe "acronym" $
where
test Case {..} = it description $ abbreviate input `shouldBe` expected

-- Adapted from
-- Source: exercism/x-common/exercises/acronym/canonical-data.json
-- Version: 1.0.0
-- Date: 2017-03-31

data Case = Case { description :: String
, input :: String
, expected :: String
Expand Down
1 change: 1 addition & 0 deletions exercises/all-your-base/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: all-your-base
version: 0.9.0.1 # 2016-06-29

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/all-your-base/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ specs = describe "all-your-base" $
assertion = expression `shouldBe` outputDigits
expression = rebase inputBase outputBase inputDigits

-- Test cases adapted from `exercism/x-common/all-your-base.json` on 2016-06-29.

data Case = Case { description :: String
, inputBase :: Integer
, inputDigits :: [Integer]
Expand Down
1 change: 1 addition & 0 deletions exercises/allergies/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: allergies
version: 0.9.0.1 # 2016-08-01

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/allergies/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "allergies" $ do

-- Test cases adapted from `exercism/x-common/allergies.json` on 2016-08-01.

describe "isAllergicTo" $ do

it "no allergies means not allergic" $ do
Expand Down
1 change: 1 addition & 0 deletions exercises/alphametics/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: alphametics
version: 0.9.0.1 # 2016-10-26

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/alphametics/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ specs = describe "alphametics" $
shouldMatchSolution = shouldBe `on` fmap sort
assertion = solve puzzle `shouldMatchSolution` expected

-- Test cases adapted from `exercism/x-common/exercises/alphametics/canonical-data.json` on 2016-10-26.

data Case = Case { description :: String
, puzzle :: String
, expected :: Maybe[(Char, Int)]
Expand Down
1 change: 1 addition & 0 deletions exercises/anagram/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: anagram
version: 0.9.0.1 # 2016-10-26

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/anagram/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ specs = describe "anagram" $
. map fromList
$ candidates

-- Test cases adapted from `exercism/x-common` on 2016-10-26.

data Case = Case { description :: String
, subject :: String
, candidates :: [String]
Expand Down
1 change: 1 addition & 0 deletions exercises/atbash-cipher/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: atbash-cipher
version: 0.9.0.1 # 2017-02-01

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/atbash-cipher/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ specs = describe "atbash-cipher" $ do
where
test f Case{..} = it description $ f phrase `shouldBe` expected

-- Test cases adapted from `exercism/x-common/atbash-cipher.json` on 2017-02-01.

data Case = Case { description :: String
, phrase :: String
, expected :: String
Expand Down
1 change: 1 addition & 0 deletions exercises/bank-account/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: bank-account
version: 0.1.0.1

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/bank-account/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "bank-account" $ do

-- As of 2016-08-01, there was no reference file
-- for the test cases in `exercism/x-common`.

it "initial balance is 0" $ do
account <- openAccount
getBalance account `shouldReturn` Just 0
Expand Down
1 change: 1 addition & 0 deletions exercises/beer-song/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: beer-song
version: 0.1.0.1

dependencies:
- base
Expand Down
1 change: 1 addition & 0 deletions exercises/binary-search-tree/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: binary-search-tree
version: 0.1.0.1

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/binary-search-tree/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "binary-seach-tree" $ do

-- As of 2016-08-03, there was no reference file
-- for the test cases in `exercism/x-common`.

let int4 = 4 :: Int
let noInts = [] :: [Int]

Expand Down
1 change: 1 addition & 0 deletions exercises/binary/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: binary
version: 0.9.0.1 # 2016-07-26

dependencies:
- base
Expand Down
1 change: 0 additions & 1 deletion exercises/binary/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ specs = describe "binary" $
where
assertion = toDecimal binary `shouldBe` fromIntegral expected

-- Test cases adapted from `exercism/x-common/binary.json` on 2016-07-26.
-- Some descriptions mentioning "errors" where changed to avoid confusion.

data Case = Case { description :: String
Expand Down
1 change: 1 addition & 0 deletions exercises/bob/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: bob
version: 0.9.0.1 # 2016-11-29

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/bob/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ specs = describe "bob" $
where
test Case{..} = it description $ responseFor input `shouldBe` expected

-- Test cases adapted from `exercism/x-common/bob.json` on 2016-11-29.

data Case = Case { description :: String
, input :: String
, expected :: String
Expand Down
1 change: 1 addition & 0 deletions exercises/bowling/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: bowling
version: 0.9.0.1 # 2016-11-20

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/bowling/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ specs = describe "bowling" $
assertion = result `shouldBe` expected
result = score rolls

-- Test cases adapted from `exercism/x-common/bowling` on 2016-11-20.

data Case = Case { description :: String
, rolls :: [Int]
, expected :: Either BowlingError Int
Expand Down
1 change: 1 addition & 0 deletions exercises/bracket-push/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: bracket-push
version: 1.1.0.1

dependencies:
- base
Expand Down
5 changes: 0 additions & 5 deletions exercises/bracket-push/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ specs = describe "bracket-push" $
where
test Case{..} = it description $ arePaired input `shouldBe` expected

-- Adapted from
-- Source: exercism/x-common/exercises/bracket-push/canonical-data.json
-- Version: 1.1.0
-- Date: 2017-04-07.

data Case = Case { description :: String
, input :: String
, expected :: Bool
Expand Down
1 change: 1 addition & 0 deletions exercises/change/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: change
version: 0.9.0.1 # 2016-09-17

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/change/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ specs = describe "Change" $
assertion = expression `shouldBe` expected
expression = sort <$> findFewestCoins target coins

-- Test cases adapted from `exercism/x-common` on 2016-09-17.

data Case = Case { description :: String
, coins :: [Integer]
, target :: Integer
Expand Down
1 change: 1 addition & 0 deletions exercises/clock/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: clock
version: 0.9.0.1 # 2016-03-29

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/clock/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ specs = describe "clock" $ do
it "negate works" $
negate (fromHourMin 23 55) `shouldBe` 5

-- Test cases extracted from x-common/clock.json from 2016-03-29

describe "standard tests" $ do

describe "create" $ for_ createCases createTest
Expand Down
1 change: 1 addition & 0 deletions exercises/connect/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: connect
version: 0.9.0.1 # 2016-09-16

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/connect/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ specs = describe "connect" $
assertion = winner testBoard `shouldBe` expected
testBoard = filter (/=' ') <$> board

-- Test cases adapted from `exercism/x-common` on 2016-09-16.

data Case = Case { description :: String
, board :: [String]
, expected :: Maybe Mark
Expand Down
1 change: 1 addition & 0 deletions exercises/crypto-square/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: crypto-square
version: 0.1.0.1

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/crypto-square/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ specs = describe "crypto-square" $
it "reorders the characters" $ encode input `shouldMatchString` expected
it "groups the output" $ encode input `shouldMatchWords` expected

-- Test cases created from scratch on 2016-10-05, diverging from `x-common`.

data Case = Case { description :: String
, input :: String
, expected :: String
Expand Down
1 change: 1 addition & 0 deletions exercises/custom-set/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: custom-set
version: 0.9.0.1 # 2016-09-03

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/custom-set/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ specs = describe "custom-set" $ do

describe "standard tests" $ do

-- Test cases adapted from `exercism/x-common/custom-set.json`
-- on 2016-09-03.

describe "null" $ do

it "sets with no elements are empty" $
Expand Down
1 change: 1 addition & 0 deletions exercises/difference-of-squares/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: difference-of-squares
version: 0.9.0.1 # 2016-08-03

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/difference-of-squares/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "differenceOfSquares" $ do

-- Test cases adapted from `exercism/x-common/difference-of-squares.json`
-- on 2016-08-03.

describe "squareOfSums" $ do
it "square of sum 5" $ squareOfSums 5 `shouldBe` 225
it "square of sum 10" $ squareOfSums 10 `shouldBe` 3025
Expand Down
1 change: 1 addition & 0 deletions exercises/dominoes/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: dominoes
version: 0.9.0.1 # 2016-11-11

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/dominoes/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ specs = describe "dominoes" $
expectationFailure $
printf "In chain %s:\n\t right end of %s (%s)\n\tand left end of %s (%s)\n\tdidn't match!" (show l) name1 (show d1) name2 (show d2)

-- Test cases adapted from `exercism/x-common/dominoes` on 2016-11-11.

data Case = Case { description :: String
, input :: [(Int, Int)]
, expected :: Bool
Expand Down
1 change: 1 addition & 0 deletions exercises/etl/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: etl
version: 0.9.0.1 # 2017-01-31

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/etl/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "etl" $

-- Test cases adapted from `exercism/x-common/etl` on 2017-01-31.

describe "transform" $ do

it "a single letter" $
Expand Down
1 change: 1 addition & 0 deletions exercises/food-chain/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: food-chain
version: 0.1.0.1

dependencies:
- base
Expand Down
1 change: 1 addition & 0 deletions exercises/forth/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: forth
version: 0.9.0.1 # 2017-02-01

dependencies:
- base
Expand Down
2 changes: 0 additions & 2 deletions exercises/forth/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "forth" $ do

-- Test cases adapted from `exercism/x-common/forth` on 2017-02-01.

let runTexts = fmap toList . foldM (flip evalText) empty

describe "parsing and numbers" $ do
Expand Down
1 change: 1 addition & 0 deletions exercises/gigasecond/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: gigasecond
version: 0.1.0.1

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/gigasecond/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ specs :: Spec
specs = describe "gigasecond" $
describe "fromDay" $ do

-- Test cases loosely based on reference file
-- at `exercism/x-common/gigasecond.json`.

let dt = readTime defaultTimeLocale
(iso8601DateFormat (Just "%T%Z")) :: String -> UTCTime

Expand Down
1 change: 1 addition & 0 deletions exercises/go-counting/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: go-counting
version: 0.1.0.1

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/go-counting/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "go-counting" $ do

-- As of 2016-07-27, there was no reference file
-- for the test cases in `exercism/x-common`.

let board5x5 = [ " B "
, " B B "
, "B W B"
Expand Down
1 change: 1 addition & 0 deletions exercises/grade-school/package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: grade-school
version: 0.1.0.1

dependencies:
- base
Expand Down
3 changes: 0 additions & 3 deletions exercises/grade-school/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ main = hspecWith defaultConfig {configFastFail = True} specs
specs :: Spec
specs = describe "grade-school" $ do

-- As of 2016-07-27, there was no reference file
-- for the test cases in `exercism/x-common`.

let fromList = foldr (uncurry add) empty
let fromGrade g = fromList . zip (repeat g)

Expand Down
Loading