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: message-index/messages/GHC-31574/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ severity: error
5
5
introduced: 9.6.1
6
6
---
7
7
8
-
Starting with version 9.0, GHC now supports so-called linear types.
8
+
Starting with version 9.0, GHC supports linear types.
9
9
These types allow the programmer to express how often the argument to a function is used in the function body.
10
10
For this reason, a new function type `a %1 -> b` has been introduced which stands for *linear* functions which use their argument of type `a` exactly once.
11
11
In order to use these functions, however, the extension `LinearTypes` has to be enabled.
0 commit comments