You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All answers are almost the same: fromDay = addUTCTime 1e9
Does not match exercism/x-common/gigasecond.json.
Seems that, at least in other tracks, it can be interesting: #192 (comment)
In the Go track gigasecond is a fantastic exercise. People tackle it in so many different ways, and there are myriad opportunities to talk about idioms in the language and certain language features.
I think that if it can be turned into a more interesting exercise, then that's worth doing. If not, just deprecate it.
Edit: This exercise was changed in branch hspec-fail-fast. Please use that branch for any PR related to it or wait until it's merged in master.
The text was updated successfully, but these errors were encountered:
Until now, there is no proposal about how to make gigasecond an interesting exercise, so I think it's best to deprecate it now. If anyone finds a way to make it a good exercise in Haskell, we can easily undeprecate it.
resistor-color-duo was added in #808.
resistor-color-trio was added in #869.
Yet there is no resistor-color. I argue that there shouldn't be.
A reasonable solution might look like
```haskell
data Color = ...
deriving (Eq, Enum, Bounded)
colorCode :: Color -> Int
colorCode = fromEnum
colors :: [Color]
colors = [minBound..]
```
which makes it approximately as simple as the gigasecond exercise which
was marked as deprecated in #280 (decision made in #230). Still, if it
is simply missing, it will appear as an exercise that is potentially
implementable on https://tracks.exercism.io/haskell/master/unimplemented
Since a question was raised about this exercise once, marking it as
foregone will limit further requests made in vain.
The way it is now,
gigasecond
has some problems:fromDay = addUTCTime 1e9
exercism/x-common/gigasecond.json
.Seems that, at least in other tracks, it can be interesting: #192 (comment)
Edit: This exercise was changed in branch
hspec-fail-fast
. Please use that branch for any PR related to it or wait until it's merged inmaster
.The text was updated successfully, but these errors were encountered: