purescript/trypurescript

How to deal with warnings in examples?

andys8 opened this issue · 2 comments

This is a minor issue. I was wondering if we can or should address warnings shiowing up in the default examples.

Warnings

image

image

image

Options

  • Keep the examples as they are and show the warnings
  • Change the code examples (e.g. add type annotation to main)
  • Change Try-PureScript to hide these specific warnings (main type signature, TryPureScript import)

We should update the examples so that the warnings no longer appear.

Addressed in #286