Type error: error: `toMap` only accepts records of type `Type` --> :1:1 | 1 | toMap { x = Bool } | ^^^^^^^^^^^^^^^^^^ `toMap` only accepts records of type `Type` |