aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-06-30 10:53:42 +0200
committerTom Smeding <tom@tomsmeding.com>2025-06-30 10:53:42 +0200
commit558a3db2173e34f4d96534b49dab1a51703f6c62 (patch)
tree85eedf1f8ec626401fcd45b85c126484c73bec83 /README.md
parent362858202e880e8787127bc4a29bfbfeed822c58 (diff)
Add SNat import to readme tasterHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1d6e047..01bcbac 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ Below the surface layer, there is a more low-level wrapper (`XArray`) around
Here is a little taster of the API, to get a sense for the design:
```haskell
-import GHC.TypeLits (Nat)
+import GHC.TypeLits (Nat, SNat)
data Ranked (n :: Nat) a {- e.g. -} Ranked 3 Float
data Shaped (sh :: '[Nat]) a {- e.g. -} Shaped [2,3,4] Float