JeffreyBenjaminBrown / digraphs-with-text

BSD 3-Clause "New" or "Revised" License
65 stars 5 forks source link

Err gracefully #8

Closed JeffreyBenjaminBrown closed 6 years ago

JeffreyBenjaminBrown commented 6 years ago

A parse error in the UI causes an ugly failure. The parsers should be modified to return the DwtErr error type, and the functions that call them should respond to it.

fromRight (sometimes abbreviated fr) and fromJust are used in more places than they need to be.