Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://gitorious.org/ocamlp3l/ocamlp3l_cvs.git
30 March 2016, 07:40:04 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • 2db189928c94d62a3b4757b3eec68f0a4d4113f0
    No releases to show
  • 01d2169
  • /
  • Examples
  • /
  • SimpleFarm
  • /
  • simplefarm.ml
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:4d99d2d18326621ccdd70f5ea66c2e2ac236ad8b
origin badgedirectory badge Iframe embedding
swh:1:dir:a0e52c3df0ae637f5b38d3cb16f7fa0f7e41bbcb
origin badgerevision badge
swh:1:rev:2db189928c94d62a3b4757b3eec68f0a4d4113f0
origin badgesnapshot badge
swh:1:snp:d7f1b9eb7ccb596c2622c4780febaa02549830f9
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 2db189928c94d62a3b4757b3eec68f0a4d4113f0 authored by dicosmo on 23 June 1998, 11:28:44 UTC
*** empty log message ***
Tip revision: 2db1899
simplefarm.ml
(* program computing a function over a stream of floats ... 
   by using a farm (very simple!) *)

let farm_worker x =
  x *. x;;

let nothing _ = ();;

let generate_input_stream =
  let x = ref 0.0 in
  (function () -> 
    begin
      x := !x +. 1.0;
      if(!x < 10.0) then !x else raise End_of_file
    end);;

let print_result x =
  print_float x; print_newline();;

let program ()= 
  startstop
    (generate_input_stream, nothing)
    (print_result,nothing,nothing)
    (farm(seq(farm_worker),4))
in
  pardo program
;;

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top