Colour Blind Aware Semantic Highlighting
Yesterday, I gave a talk about my work at SPLS Nov ‘16 at the University of Strathclyde.
In my work I have a data type:
data Session : (ty : Ty)
-> (old : Context)
-> (new : ty -> Context)
-> Type
where
and a function that computes an instance of that type with information to popular the value old.
Session : List Role -> List (Role, Role) -> Type
Session rs ps = Model.Session....
Now I could have provided more meaningful names to these different meanings of Session.
However, with semantic highlighting who needs too, right?
My work involves the use of Dependent Types as seen in Idris, and we use semantic highlighting to provide developers with richer information about programming constructs.
Typically the scheme and practise is often referred to as Conor’s Colours, and the default values specified in this scheme are used by Idris.