Commit 1a307666 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[API][NGRAMS-TABLE] WIP for meeting.

parent 18120559
......@@ -79,6 +79,10 @@ corpusTree nId t = TreeN (NodeTree ("Corpus " <> t) NodeCorpus nId) ( [ leafT
--data Classification = Favorites | MyClassifcation
data ListType = Stop | Candidate | Map
deriving (Generic)
instance ToJSON ListType
instance FromJSON ListType
listId :: ListType -> Int
listId Stop = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment