Safe Haskell | Safe |
---|---|

Language | Haskell98 |

- class Deannotate c1 c2 | c1 -> c2 where

# Documentation

class Deannotate c1 c2 | c1 -> c2 where Source #

Convert the `Annot`

version of the AST to the `Simple`

version,
using the provided function to decide when to keep the annotation.

deannotate :: (a -> Maybe a) -> c1 a n -> c2 a n Source #