1 2 3 4 5 6
Type error: error: The argument to `toMap` must be a record --> <current file>:1:1 | 1 | toMap "text" | ^^^^^^^^^^^^ The argument to `toMap` must be a record |