package ppx_fail

  1. Overview
  2. Docs
Add location to calls to failwiths

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_fail-v0.11.0.tar.gz
sha256=480f90ffbdbe67aa2addb5105f8aaf451bf24ac1fc7af7deb39b4749b7c6f41e
md5=b153a48e619b819a89924857586e76ac

Description

Part of the Jane Street's PPX rewriters collection.

Published: 22 Mar 2018

README

ppx_fail

Syntax extension that makes [failwiths] always include a position.

Rewrites failwiths into failwiths ~here:[%here]. This is useful to have a position for an exception even if the backtrace got lost somehow.

Dependencies (6)

  1. ppxlib >= "0.1.0" & < "0.9.0"
  2. ocaml-migrate-parsetree >= "1.0" & < "2.0.0"
  3. jbuilder >= "1.0+beta18.1"
  4. ppx_here >= "v0.11" & < "v0.12"
  5. base >= "v0.11" & < "v0.12"
  6. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (1)

  1. ppx_jane = "v0.11.0"

Conflicts (1)

  1. jbuilder = "1.0+beta19"
OCaml

Innovation. Community. Security.