adding isogram#595
Conversation
|
This one is ok. right? |
| "core": false, | ||
| "unlocked_by": null, | ||
| "difficulty": 1, | ||
| "topics": [ |
There was a problem hiding this comment.
in contrast to Maybe, I don't think this:
- affects where we would choose to place the exercise
- is necessarily going to be in everyone's solutions
so I would remove it
| @@ -0,0 +1,20 @@ | |||
| name: isogram | |||
| version: 1.1.0 | |||
| @@ -0,0 +1,64 @@ | |||
| {-# OPTIONS_GHC -fno-warn-type-defaults #-} | |||
There was a problem hiding this comment.
given that #144 tells us this line helps for exercises with numbers but this is not one, I think it can be removed?
| @@ -0,0 +1,6 @@ | |||
| module Isogram (isIsogram) where | |||
|
|
|||
| import Data.Char | |||
There was a problem hiding this comment.
since
- Not every solution wants or needs this
- I wouldn't want to encourage the habit of importing everything rather than the specific list of functions desired
I would remove this line
petertseng
left a comment
There was a problem hiding this comment.
OK, I don't think there's anything big to change, so it will be merged no more than 48 hours. There are two small things. I was going to do them myself. You can if you want.
|
|
||
| ## Source | ||
|
|
||
| see more at [wikipedia page of isograms]("https://en.wikipedia.org/wiki/Isogram") |
There was a problem hiding this comment.
as you can see in https://github.com/Average-user/haskell/blob/d1556eadc748688089e3261700ab9678f2caf245/exercises/isogram/README.md, the quotes mean it is not a link.
I'm going to regenerate this README anyway so it doesn't matter whether you fix this, but don't put quotes in the brackets
There was a problem hiding this comment.
ok, so the next time i make PR like this, do i even have to put the README.md?
There was a problem hiding this comment.
I guess not! I will just do it. However, it would be good if you just put a README.md that just says "please regenerate this for me" so that I don't forget to!
There was a problem hiding this comment.
ok, also, dont merge yet, i want to implement something
| @@ -0,0 +1,5 @@ | |||
| module Isogram (isIsogram) where | |||
|
|
|||
There was a problem hiding this comment.
I would remove one newline here so there is only one between module and isIsogram, not two.
|
Now you can merge if you want |
|
How can i do if i want to do another PR before this one gets merge? |
Make a branch. |
|
But Github will still catch the differences with the (in this case) Isogram commits |
Github shows all commits that are not on the target branch (Exercism's master branch) but are on the PR branch (your new branch). The Isogram commits should not be on your new branch. Achieve that using whatever means you prefer. Ask if you want a suggestion of a preferred means. |
|
Thanks, i'll take that suggestion you offer . |
|
Case 1: You do not already have a branch. You decide on a branch name, and then you (why, because Case 2: You already have a branch. You |
|
Instead of this key (or whatever) |
If the repository https://github.com/exercism/haskell is a remote on your local copy of the git repo, you may instead use |
petertseng
left a comment
There was a problem hiding this comment.
far as I can tell, we are ready to go.
|
Thank you for implementing this exercise! |
Another Unimplemented exercise