EnglishFrenchSpanish

Ad


OnWorks favicon

DrIFT - Online in the Cloud

Run DrIFT in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command DrIFT that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


DrIFT - a type sensitive preprocessor for Haskell

SYNOPSIS


DrIFT [ options ... ] file ...

DESCRIPTION


It extracts type declarations and directives from modules. The directives cause rules to
be fired on the parsed type declarations, generating new code which is then appended to
the bottom of the input file. The rules are expressed as Haskell code, and it is intended
that the user can add new rules as required.

DrIFT automates instance derivation for classes that aren't supported by the standard
compilers. In addition, instances can be produced in separate modules to that containing
the type declaration. This allows instances to be derived for a type after the original
module has been compiled. As a bonus, simple utility functions can also be produced from
a type.

-v, --verbose
chatty output on stderr

-V, --version
show version number

-l, --list
list available derivations

-L, --noline
omit line pragmas from output

-o FILE, --output=FILE
output FILE

-s name:value, --set=name:value
set argument to value

-r, --results-only
output only results, do not include source file

-g rule, --global=rule
addition rules to apply globally

-i, --ignore
ignore directives in file, which is useful with -g

ENVIRONMENT


The environment variable DERIVEPATH can be used to declare a list of directories which
contain the modules and/or interfaces that define the additional classes you wish to
derive from. DrIFT is quite fussy about the format of the DERIVEPATH variable. The
directory list should have the following format:

* each path should be separated by ‘:’
* no space inserted anywhere
* no final ‘/’ on the end of a path

Examples of DERIVEPATH settings:
good - /users/grad/nww/share/hugs/lib:/users/grad/nww/share/hugs/lib/hugs
bad - /users/grad/nww/share/hugs/lib/:/users/grad/nww/share/hugs/lib/hugs/

COPYRIGHT


© 2002 – 2004 DrIFT contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Use DrIFT online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 2
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 3
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 4
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 5
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 6
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 7
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • More »

Linux commands

  • 1
    acdce
    acdce
    acdc - Test an application ACD file ...
    Run acdce
  • 2
    acdcheckp
    acdcheckp
    acdcheck Use acdcheckp online using
    onworks.net services. ...
    Run acdcheckp
  • 3
    convertToAtac
    convertToAtac
    sim4dbutils - utilities to work with
    sim4db-generated alignment files
    convertPolishes - convert between sim4db
    and GFF3 formats filterPolishes - filter
    alignme...
    Run convertToAtac
  • 4
    convertToExtent
    convertToExtent
    sim4dbutils - utilities to work with
    sim4db-generated alignment files
    convertPolishes - convert between sim4db
    and GFF3 formats filterPolishes - filter
    alignme...
    Run convertToExtent
  • 5
    gbacorr
    gbacorr
    gbacorr - Compute
    auto/cross-correlation coefficients ...
    Run gbacorr
  • 6
    gbak
    gbak
    gbak � Backup/restore Firebird database
    ...
    Run gbak
  • More »

Ad