-
Notifications
You must be signed in to change notification settings - Fork 9
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
Lab 1 #7
base: master
Are you sure you want to change the base?
Lab 1 #7
Conversation
Здравствуйте.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
По первой лабораторной всё хорошо, кроме опоздания. Ставлю 16.
@@ -1,14 +1,16 @@ | |||
module FirstSteps | |||
where | |||
import Data.Word (Word8) | |||
import GHC.Exts.Heap (GenClosure(key)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это случайность? Вроде нигде не используется.
| x == z = max x y | ||
| otherwise = max x y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здесь менять не надо, но достаточно одной ветки. Видно ли, почему?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здравствуйте!
Ну да, понятно что первая строка лишняя и можно просто otherwise оставить
module Lists where | ||
|
||
import Data.List (delete) | ||
import Data.Bits (Bits(xor)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это тоже похоже на случайно оставленное после редактирования (а вот delete
видно, где используется).
No description provided.