Loading ...
Sorry, an error occurred while loading the content.
 

Re: Using (sub)modules - fileutils for example

Expand Messages
  • Sylvain Le Gall
    ... I will do it, like the one coming with ocaml-gettext. ... What about : My.test (FileUtil.Not(FileUtil.Size_not_null)) xaa ;; or not(My.test
    Message 1 of 7 , Nov 30, 2006
      On 30-11-2006, Johann Spies <jspies@...> wrote:
      > On Tue, Nov 28, 2006 at 12:13:05AM +0000, Sylvain Le Gall wrote:
      >> I should write a documentation ;-)
      >
      > That will help amateurs like me :)
      >

      I will do it, like the one coming with ocaml-gettext.

      > How do I specify what I want to test on that file?
      >
      > # My.test Size_not_null "xaa";; is obviously not working.
      >

      What about :

      My.test (FileUtil.Not(FileUtil.Size_not_null)) "xaa";;

      or

      not(My.test FileUtil.Size_not_null "xaa");;

      Is it what you need ?

      Kind regard
      Sylvain Le Gall
    • Johann Spies
      ... Yes, thanks. Regards Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch Who is like unto thee, O
      Message 2 of 7 , Nov 30, 2006
        On Thu, Nov 30, 2006 at 10:53:31PM +0000, Sylvain Le Gall wrote:
        > What about :
        >
        > My.test (FileUtil.Not(FileUtil.Size_not_null)) "xaa";;
        >
        > or
        >
        > not(My.test FileUtil.Size_not_null "xaa");;
        >
        > Is it what you need ?

        Yes, thanks.

        Regards
        Johann
        --
        Johann Spies Telefoon: 021-808 4036
        Informasietegnologie, Universiteit van Stellenbosch

        "Who is like unto thee, O LORD, among the gods? who is
        like thee, glorious in holiness, fearful in praises,
        doing wonders?" Exodus 15:11
      Your message has been successfully submitted and would be delivered to recipients shortly.