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
Copy file name to clipboardExpand all lines: backend/junior-3/haskell.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,10 +210,11 @@
210
210
* In which way does runtime behavior of the following expressions differ?
211
211
*``a + b `seq` (a + b) : list``
212
212
*``let s = a + b in s `seq` s : list``
213
+
* What are conditions when `seq` or `deepseq` can actually evaluate a value?
213
214
* What is the GHC extension `BangPatterns`?
214
-
* Make examples when bang pattern is useless.
215
-
*What form does the bang pattern force values to be calculated to?
216
-
* Show the difference between this two definitions:
215
+
* Make examples when a bang pattern is useless.
216
+
*Do bang patterns force values to WHNF or NF?
217
+
* Show the difference between these two definitions:
217
218
*`f1`
218
219
219
220
```haskell
@@ -267,6 +268,8 @@
267
268
* [Brief normal forms explanation with Haskell-Medium article](https://medium.com/@aleksandrasays/brief-normal-forms-explanation-with-haskell-cd5dfa94a157)
* [Does a function inHaskell always evaluate its return value?-Stackoverflow](https://stackoverflow.com/questions/27685224/does-a-function-in-haskell-always-evaluate-its-return-value)
0 commit comments