purescript-0.3.6: PureScript Programming Language Compiler

Safe HaskellNone

Language.PureScript.Scope

Description

Utility functions for working with names in scope

Synopsis

Documentation

usedNames :: Data d => d -> [Ident]Source

Gather all used names appearing inside a value

unusedNames :: Data d => d -> [Ident]Source

Generate a set of names which are unused inside a value, of the form _{n} for an integer n