descriptiondebian packaging of deriving-ocsigen
ownergit@thisis.be
last changeTue, 18 Oct 2011 03:51:37 +0000 (18 03:51 +0000)
content tags
add:
README
This release of deriving-ocsigen library is based on the deriving
library by Jeremy Yallop. See:

  http://code.google.com/p/deriving/
  https://github.com/jaked/deriving

Main changes are:

 - ocamlfind compatibility
 - type-conv compatibility mode
 - simplify the definition of new class
 - fix small bugs

######

Requirements:
=============

 * ocaml and camlp4
 * type-conv (optionnal)

Build intructions:
==================

 $ ${EDITOR} Makefile.config
 $ make

 $ make tests

 # make install

Examples:
=========

 $ ocaml
        Objective Caml version 3.12.0

 # #use "topfind";;
 - : unit = ()
 # #camlp4o;;
	Camlp4 Parsing version 3.12.0

 # #require "deriving-ocsigen.syntax";;
 # type t = A of int | B of t deriving (Show);;
 type t = A of int | B of t
 module rec Show_t : sig ... end
 # Show.show<t> (B (A 4));;
 - : string = "B A 4"

Examples with type-conv:
========================

 $ ocaml
        Objective Caml version 3.12.0

 # #use "topfind";;
 - : unit = ()
 # #camlp4o;;
	Camlp4 Parsing version 3.12.0

 # #require "type-conv";;
 # #require "deriving-ocsigen.syntax_tc";;
 # type t = A of int | B of t with show;;
 type t = A of int | B of t
 module rec Show_t : sig ... end

Documention and examples of the original library:
=================================================

   http://code.google.com/p/deriving/wiki/Introduction
   http://code.google.com/p/deriving/wiki/Classes
shortlog
2011-10-18 Benjamin JacobsInitial packagingmaster
2011-10-10 Benjamin JacobsImported Upstream version 0.2upstream
heads
12 years ago master
12 years ago upstream