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: README.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
@@ -55,7 +55,7 @@ foreign import data RawBaseLayer :: Type -> Type
55
55
foreign import data RawLayer :: Type
56
56
57
57
type BaseLayer a = RawBaseLayer a
58
-
type RawLayer = BaseLayer RawLayer
58
+
type Layer = BaseLayer RawLayer
59
59
```
60
60
61
61
This is an example of a ***Layer*** that "inherits" ***BaseLayer*** and you can then use a ***Layer*** in every function that takes a ***BaseLayer a***.
0 commit comments