Skip to content

Commit 66098af

Browse files
authored
Changed RawLayer to Layer
Corrected an error in the description on how inheritance is made in this library.
1 parent 625fe17 commit 66098af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ foreign import data RawBaseLayer :: Type -> Type
5555
foreign import data RawLayer :: Type
5656
5757
type BaseLayer a = RawBaseLayer a
58-
type RawLayer = BaseLayer RawLayer
58+
type Layer = BaseLayer RawLayer
5959
```
6060

6161
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

Comments
 (0)