- 16 Sep, 2014 2 commits
-
-
Pietro Abate authored
Add a global variable table, so when we call "Var.mk id" twice, the same variable is returned and when we call "Var.fresh v" we always return a truly globally fresh variable.
-
Pietro Abate authored
-
- 14 Sep, 2014 1 commit
-
-
Pietro Abate authored
-
- 13 Sep, 2014 1 commit
-
-
https://git.cduce.org/cducePietro Abate authored
-
- 12 Sep, 2014 7 commits
-
-
Pietro Abate authored
-
Giuseppe Castagna authored
-
beppe authored
-
https://git.cduce.org/cducebeppe authored
-
Pietro Abate authored
-
Pietro Abate authored
- patterns used after a let binding must be enclosed in parenthesis consider : type t( 'a ) = [ 'a* ] ;; this function declaration works let (t(Int) & x) = [ 1 ] ;; while without parenthesis will raise a failure.
-
-
- 10 Sep, 2014 5 commits
-
-
Pietro Abate authored
in everything else but parametric types of the for t('a) there must be a space between the indetifier and the parenthesis this is valid : let hd ( ... but this is not valid : let hd( ...
-
Pietro Abate authored
-
Pietro Abate authored
-
Pietro Abate authored
-
Pietro Abate authored
-
- 09 Sep, 2014 3 commits
-
-
Pietro Abate authored
now we can write types as type t( 'a) = <a>'a and patterns can contain type instantiations let f = fun (t('a) -> [ t('a)* ]) x -> [ x ];; let id = fun (t(Int) -> [ t(Int)* ]) x -> [ x ];; Note: parametric types must be written as "IDENT(" without space.
-
-
Giuseppe Castagna authored
-
- 08 Sep, 2014 16 commits
-
-
Pietro Abate authored
-
Pietro Abate authored
- change syntax to avoid conflicts ( tried "((", "[<", "<[", "(" ) type t {[ 'a,'b ]} = (Int,[ 'b* ]) ;; let app (f : 'a -> t {[Int,Int]} )(a : 'a) : t = f a;;
-
Pietro Abate authored
- type t 'a = ('a,'a) - type t ('a,'b) = ('a,'b) Fix Typer.pp_env printer for types Minor code refactring
-
Pietro Abate authored
-
Pietro Abate authored
-
Kim Nguyễn authored
Fix minor problem in runtime/value.ml
-
Kim Nguyễn authored
Conflicts: Makefile.distrib depend ocamliface/4.01/Makefile
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Prevent the compiler from statically allocating an persistent variant (that is mutated by the OCaml runtime) Conflicts: runtime/value.ml
-
Kim Nguyễn authored
Make sure that the -g flag is correctly propagated to the auxiliary Makefile when compiling the ocaml/cduce interface
-
Kim Nguyễn authored
Conflicts: Makefile.distrib depend Change $$ in >> in types.ml for the substitution operator
-
Kim Nguyễn authored
Conflicts: configure.ml
-
Kim Nguyễn authored
- add clflags.mli to the list of files imported from the ocaml source tree - remove another use of #load for syntax extension loading. Conflicts: Makefile.distrib
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Change the default inlining from 10000 to 100 (OCaml 4.02.0 generates too large binaries with -inline 10000). Conflicts: Makefile.distrib
-
-
- 03 Sep, 2014 1 commit
-
-
Pietro Abate authored
-
- 31 Aug, 2014 3 commits
- 28 Aug, 2014 1 commit
-
-
Kim Nguyễn authored
-