deech / fltkhs

Haskell bindings to FLTK GUI toolkit.
MIT License
190 stars 24 forks source link

Add optional default string for flInput. #138

Closed ericu closed 5 years ago

ericu commented 5 years ago

Apologies if you have a preferred naming scheme for variables; I'm still learning Haskell style.

This adds an optional default string for flInput, without dealing with the complexity of the varargs stuff. Users can certainly compute their own string before passing it in, so this seems like decent bang for the buck.

deech commented 5 years ago

Looks great! Do you mind changing maybeDefault to defaultMsg or something like that?

deech commented 5 years ago

Thanks!