HaskerDeux

Check-in [0fe877fd3b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add comment for future list usage support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | origin/issue1 | trunk | master
Files: files | file ages | folders
SHA3-256: 0fe877fd3b06577a6638bfe8ed137399589f7c9989a16628934bea226358ff44
User & Date: atomicules 2019-02-08 12:52:40
Context
2019-02-08
12:52
Add comment for future list usage support Leaf check-in: 0fe877fd3b user: atomicules tags: origin/issue1, trunk, master
2017-10-29
17:10
Handle automatic re-login on each separate curl call I.e. rather than check the validity of the token each time by making a curl call to get a list of todos (whatever action is being performed) just assume the token is valid and wait for the actual action to fail. Relogin at that point and re-call that action. It's still messy, but I think this approach is right - it'll just be my implementation of it that lets the side down. check-in: 76a89c1a9b user: base@atomicules.co.uk tags: origin/issue1, trunk, master
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to haskerdeux.hs.

193
194
195
196
197
198
199



--Thanks to http://www.amateurtopologist.com/blog/2010/11/05/a-haskell-newbies-guide-to-text-json/ and http://hpaste.org/41263/parsing_json_with_textjson
data Teuxdeux = Teuxdeux {
    id :: Integer,
	current_date :: String, 
	text :: String,
	done :: Bool
} deriving (Eq, Show, Data, Typeable) 










>
>
>
193
194
195
196
197
198
199
200
201
202
--Thanks to http://www.amateurtopologist.com/blog/2010/11/05/a-haskell-newbies-guide-to-text-json/ and http://hpaste.org/41263/parsing_json_with_textjson
data Teuxdeux = Teuxdeux {
    id :: Integer,
	current_date :: String, 
	text :: String,
	done :: Bool
} deriving (Eq, Show, Data, Typeable) 

--Another data type here probably for lists