archive-fr.com » FR » N » NICOLASPOUILLARD.FR

Total: 307

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Signatures.GLOB
    a constant string enclosed in double quotes in which double quotes must be preceded by backslashes or a glob pattern enclosed between a and a string matches the literal string string glob matches the glob pattern glob A glob pattern is an anchored regular expression in a shell like syntax Most characters stand for themselves Character ranges are given in usual shell syntax between brackets The star stands for any sequence of characters The joker stands for exactly one unspecified character Alternation is achieved using braces glob1 glob2 matches strings who have a prefix matching glob1 and the corresponding suffix matching glob2 a matches the string consisting of the single letter a glob1 glob2 matches strings matching glob1 or glob2 any one letter string excluding the slash matches all strings not containing a slash including the empty one the empty string or any string ending with a slash any string starting with a slash or the empty string any string starting and ending with a slash c1 c2 c3 c4 matches characters in the range c1 to c2 inclusive or in the range c3 to c4 inclusive For instance a fA F0 9 matches hexadecimal digits To match the dash

    Original URL path: http://nicolaspouillard.fr/ocamlbuild/html/Signatures.GLOB.html (2015-10-11)
    Open archived version from archive


  • Signatures.LOG
    level val dprintf int a Format formatter unit Pervasives format a dprintf level fmt args formats the logging information fmt with the arguments args on the logging output if the logging level is greater than or equal to level The default level is 1 More obscure debugging information should have a higher logging level Youre formats are wrapped inside these two formats 2 and val eprintf a Format formatter unit

    Original URL path: http://nicolaspouillard.fr/ocamlbuild/html/Signatures.LOG.html (2015-10-11)
    Open archived version from archive

  • Signatures.OUTCOME
    OUTCOME module type OUTCOME sig end type a b t Good of a Bad of b val wrap a b a b exn t val ignore good a exn t

    Original URL path: http://nicolaspouillard.fr/ocamlbuild/html/Signatures.OUTCOME.html (2015-10-11)
    Open archived version from archive

  • Signatures.MISC
    temp file string string string a a val read file string string val copy chan Pervasives in channel Pervasives out channel unit val copy file string string unit val print string list Format formatter string list unit val a Lazy t a A shortcut to force lazy value See val a b a b The right associative application Useful when writing to much parentheses f g x t becomes f

    Original URL path: http://nicolaspouillard.fr/ocamlbuild/html/Signatures.MISC.html (2015-10-11)
    Open archived version from archive

  • Signatures.OPTIONS
    ref val sanitization script string Pervasives ref val ignore auto bool Pervasives ref val plugin bool Pervasives ref val just plugin bool Pervasives ref val native plugin bool Pervasives ref val make links bool Pervasives ref val nostdlib bool Pervasives ref val program to execute bool Pervasives ref val must clean bool Pervasives ref val catch errors bool Pervasives ref val use menhir bool Pervasives ref val show documentation bool

    Original URL path: http://nicolaspouillard.fr/ocamlbuild/html/Signatures.OPTIONS.html (2015-10-11)
    Open archived version from archive

  • Signatures.ARCH
    arch val dir pack string unit arch list unit arch val file string unit arch type info private current path string include dirs string list for pack string val annotate a arch info arch val print Format formatter a unit Format formatter a arch unit val print include dirs Format formatter string list unit val print info Format formatter info unit val iter info a unit a arch unit val

    Original URL path: http://nicolaspouillard.fr/ocamlbuild/html/Signatures.ARCH.html (2015-10-11)
    Open archived version from archive

  • Signatures.PLUGIN
    as argument the environment lookup function see env and a function to dynamically build more targets see builder An action should return the command to run in order to build the rule productions using the rule dependencies val rule string tags string list prods string list deps string list prod string dep string stamp string insert after of string before of string bottom top action unit This is the main function for adding a rule to the ocamlbuild engine The first argument is the name of the rule should be unique It takes files that the rule produces Use prod for one file prods for list of files It also takes files that the rule uses Use dep for one file deps for list of files It finally takes the action to perform in order to produce the productions files using the dependencies see action There is also two more options The insert argument allow to insert the rules precisely between other rules The stamp argument specify the name of a file that will be automatically produced by ocamlbuild This file can serve as a virtual target or phony target since it will be filled up by a digest of it dependencies The tags argument in deprecated don t use it val copy rule string insert after of string before of string bottom top string string unit copy rule name insert source destination val dep Tags elt list Pathname t list unit dep tags deps Will build deps when all tags will be activated val flag Tags elt list Command spec unit flag tags command spec Will inject the given piece of command command spec when all tags will be activated val flag and dep Tags elt list Command spec unit flag and dep tags command spec Combines flag and dep function Basically it calls flag tags command spec and calls dep tags files where files is the list of all pathnames in command spec Pathnames selected are those in the constructor P or Px or the pathname argument of builtins like Echo val non dependency Pathname t string unit non dependency module path module name Example non dependency foo bar baz Goo Says that the module Baz in the file foo bar baz does not depend on Goo val use lib Pathname t Pathname t unit use lib module path lib path val ocaml lib extern bool byte bool native bool dir Pathname t tag name string Pathname t unit ocaml lib options library pathname Declare an ocaml library Example ocaml lib foo bar This will setup the tag use bar tag At link time it will include foo bar cma or foo bar cmxa If you supply the dir boo option I boo will be added at link and compile time Use extern true for non ocamlbuild handled libraries Use byte false or native false to disable byte or native mode Use tag name usebar to override the default tag name val expand module Pathname t list Pathname

    Original URL path: http://nicolaspouillard.fr/ocamlbuild/html/Signatures.PLUGIN.html (2015-10-11)
    Open archived version from archive


  • ø k Name α k Set Pinj T nm bool k x pf P inj name x pf Pinj T not nm bool k x pf P inj name x pf P nm k x nm ind k x P p p with nm bool k x nm name α k x true pf p pf false pf p pf easy nm α k Name α k Name ø k Name α k easy nm zero x inj x easy nm suc zero inj zero easy nm suc k suc x pf map su su easy nm k x pf syntax easy nm k x x nm easy k easy nm nm α k easy nm α k nm k easy nm nm zero x cong inj name injective refl easy nm nm suc n zero refl easy nm nm α suc n suc x pf rewrite easy nm nm n x pf helper n x pf where helper k x pf map su su nm α k x pf nm suc k suc x pf helper k x pf nm ind k x pf λ r map su su r nm suc k suc x pf λ h pf nm ind suc k suc x pf λ r inj suc x pf r λ cong inj name injective refl λ h elim T not h h λ h pf nm ind suc k suc x pf λ r inj suc x pf r λ h elim T not h h λ cong inj name injective refl prim could be defined with nm 1 lift 1 α β Name α Name β Name α 1 Name β 1 lift 1 f x with name x name α x zero zero suc m pf su f m pf mkName name name α are forbidden from now on except in proofs ze 1 α k Name α 1 k ze 1 ze infix 10 α k Name α suc k α k ze nm k because α 1 k k α 1 k exch refl 1 k α suc k where open Reasoning private module CoeExamples where nmα nmα α k Name α k Name α k nmα nmα k coe ctx refl k module Unused where open import Data List using replicate n true α n n replicate suc n true α n true zero n true suc n n true n predNm α Name α 1 Name α predNm subtract 1 Name to Nm b b α B Setoid b b Name α Setoid Carrier B Nm α B Name to Nm α α B f record f cong cong where open Setoid B renaming to B cong x y x y f x B f y cong refl Setoid refl B cong x y x nm y f x B f y cong cong Equality to propositional nm equality Name α α ø Name α Name α ø Nameø coe α ø Name elim a A Set a α

    Original URL path: http://nicolaspouillard.fr/publis/nameless-painless.agda/NaPa.html (2015-10-11)
    Open archived version from archive