overloaded-0.2.1: Overloaded pragmas as a plugin

Safe HaskellSafe
LanguageHaskell2010

Overloaded.Chars

Description

Overloaded characters.

Synopsis

Documentation

class FromChar a where Source #

Class for Char-like datastructures

A character literal x is desugared to

fromChar 'x'

Methods

fromChar :: Char -> a Source #

Instances
FromChar Char Source # 
Instance details

Defined in Overloaded.Chars

Methods

fromChar :: Char -> Char Source #