Lastik-0.5: A library for compiling programs in a variety of languages

Lastik.Extension

Description

A module for data types that can have a file extension inferred. e.g. A Javac data type compiles source files with a java file extension.

Synopsis

Documentation

ext' :: Extension e => e -> StringSource

Prepends a . to the given extension.

class Extension e whereSource

A class of data types that can have a file extension inferred.

Methods

ext :: e -> StringSource