We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6c18b8 commit 79e1635Copy full SHA for 79e1635
backend/junior-3/haskell.md
@@ -207,7 +207,9 @@
207
* What is the function `seq` (and operator `$!`)?
208
* What is the function `deepseq` (and operator `$!!`)?
209
* Could using `seq` change the returned value of the function?
210
-* What is the expression result: ``(a + b) `seq` ((a + b) : list)``? Why?
+* In which way does runtime behavior of the following expressions differ?
211
+ * ``(a + b) `seq` ((a + b) : list)``
212
+ * ``let s = a + b in s `seq` (s : list)``
213
* 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?
0 commit comments