Closed
Description
Your documentation contains an example:
>>> drawImage window ('constant' \@'Int' 1) ('Cell' 10 10 "test" 'ColorMapSpectrum')
I adapted it to:
main = do
w <- createWindow 512 512 "Test"
drawImage w (constant @Int [512,512] 1) (Cell 10 10 "test" ColorMapSpectrum)
That gives the error:
AFException {afExceptionType = TypeError, afExceptionCode = 204, afExceptionMsg = "Function does not support this data type"}