Skip to content

Commit 324b179

Browse files
[skip ci] Add RTree to the list of supported recursive data types
1 parent 4e18198 commit 324b179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clash-prelude/src/Clash/Tutorial.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,8 +2119,8 @@ Here is a list of Haskell features for which the Clash compiler has only
21192119
is trivial for values of the elementary types, sum types, and product types,
21202120
putting a fixed upper bound on recursive types is not (always) feasible.
21212121
This means that the ubiquitous list type is unsupported! The only recursive
2122-
type that is currently supported by the Clash compiler is the 'Vec'tor type,
2123-
for which the compiler has hard-coded knowledge.
2122+
types that are currently supported by the Clash compiler is the 'Vec'tor and
2123+
'RTree' types, for which the compiler has hard-coded knowledge.
21242124
21252125
For \"easy\" 'Vec'tor literals you should use Template Haskell splices and
21262126
the 'listToVecTH' /meta/-function that as we have seen earlier in this tutorial.

0 commit comments

Comments
 (0)