mu-schema-0.1.0.0: Format-independent schemas for serialization

Mu.Schema.Conversion.SchemaToTypes

Description

This module is deprecated. Haskell types corresponding to schema types should be written manually.

Synopsis

# Documentation

Generates types to represent each of the types in a given schema. You should call it as: > \$(generateTypesFromSchema f 'Schema) where f is a function String -> String which obtains the Haskell name for a type given the name in the schema. The second argument is simply the name of the schema.

type Namer = String -> String Source #

Generate the name from each new Haskell type from the name given in the schema.