Using the following .csv file:
Desc,Status
"CT3","undone"
I have written the following program:
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE QuasiQuotes #-}
module Main where
import Data.Text
import Frames
tableTypes "Todo" "todo.csv"
main = return ()
However, when I load the program into GHCI I get the following:
*Main> :i Todo
type Todo = Record '["Desc" :-> Text]
Why does Frames not find the status column from the csv file?
-Eric M.