Package Details: ulex 1.1-1

Git Clone URL: (read-only, click to copy)
Package Base: ulex
Description: ulex is a lexer generator for Unicode and OCaml
Upstream URL:
Licenses: GPL
Conflicts: ulex
Provides: ulex
Submitter: tsani
Maintainer: tsani
Last Packager: tsani
Votes: 1
Popularity: 0.000000
First Submitted: 2016-02-16 05:28 (UTC)
Last Updated: 2016-02-16 05:31 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

catalin.hritcu commented on 2018-10-06 17:00 (UTC)

A better fix though would be to change this package to use the stable releases from Here is an update to your package that tries to do that:

catalin.hritcu commented on 2018-10-06 16:11 (UTC) (edited on 2018-10-06 16:11 (UTC) by catalin.hritcu)

Discovered that the ulex-git aur package ( contains ulex v1.2 from, which works well with OCaml 4.07.0 (which is now the default on Arch). So I switched to that package. It would help prevent confusions if this package had an ocaml < 4.07.0 bound though.

catalin.hritcu commented on 2018-10-06 15:29 (UTC)

This package seems out of date (newer versions used by opam are available at I'm having troubles building it with OCaml 4.07.0. I'm getting the following error message:

+ /usr/bin/ocamlopt.opt -c -o ulexing.cmx
File "", line 45, characters 10-22:
Warning 3: deprecated: Stdlib.Array.create
Use Array.make instead.
File "", line 123, characters 19-31:
Warning 3: deprecated: Stdlib.Array.create
Use Array.make instead.
File "", line 190, characters 10-23:
Warning 3: deprecated: Stdlib.String.create
Use Bytes.create instead.
File "", line 191, characters 26-80:
Warning 3: deprecated: Stdlib.String.set
Use Bytes.set instead.
File "", line 1:
Error: The implementation
       does not match the interface ulexing.cmi:
       Values do not match:
         val latin1_lexeme : lexbuf -> bytes
       is not included in
         val latin1_lexeme : lexbuf -> string
       File "ulexing.mli", line 145, characters 0-35: Expected declaration
       File "", line 194, characters 4-17: Actual declaration
Command exited with code 2.