[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#663905: libextlib-ocaml-dev: (@) operator will not be loaded correctly, if using module ExtLib, link to bugreport/fix attached



Package: libextlib-ocaml-dev
Version: 1.5.1-1+b2
Severity: normal
Tags: patch


Hello,

in my code I ran into the problem described here:
https://code.google.com/p/ocaml-extlib/issues/detail?id=13

If you have large lists and want to append them via @-operator, the
original @-operator of stdlib will be called. The problem is, that the
stdlib-operator is not tail recursive and you could get stackoverflow
error.

Because the Extlib-package, in detail the ExtList-module delivers an @-operator which *is* tail-recursive an
stackoverflow should not occure anymore.

The problem was, that the ExtLib module does not include the
ExtList-Module correctly.

For details see link above, the fix is found on
https://code.google.com/p/ocaml-extlib/issues/attachmentText?id=13&aid=5064188974096909548&name=import-at-append.patch&token=2bc2f2440a48519b5648a2bf52fc1c5e

Bye Andreas

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libextlib-ocaml-dev depends on:
ii  ocaml-findlib                 1.2.1-5    Management tool for OCaml programm
ii  ocaml-nox [ocaml-nox-3.10.2]  3.10.2-3   ML language implementation with a 

libextlib-ocaml-dev recommends no packages.

libextlib-ocaml-dev suggests no packages.

-- no debconf information



Reply to: