Advanced search
Log In | New Account   
Home My Page Project Tree Code Snippets Project Openings Batteries : Revised Standard Library
Summary Activity Forums Tracker Lists Tasks Docs News Files

Bugs: Browse | Download .csv

[#200] Exceptions which differ from stdlib (and Extlib?) should be documented

Date:
2009-04-13 22:50
Priority:
3
State:
Open
Submitted by:
Assigned to:
Nobody (None)
Summary:
Exceptions which differ from stdlib (and Extlib?) should be documented

Detailed description
Several functions which throw exceptions throw different exceptions in Batteries than they do in the OCaml standard
library.  Some examples:

List.hd, tl - threw "Failure _" in stdlib, throw List.Empty_list in Batteries
input_line - threw "End_of_file" in stdlib, throws IO.No_more_input in Batteries

There are likely more.

Followup

Message
Date: 2009-06-13 15:59
Sender: David Teller

Sounds like a very good start.
Date: 2009-04-20 02:20
Sender: Hezekiah Carty

A brief writeup/discussion is available here:

http://etherpad.com/eLvWqhVq5L

While this is not really in an appropriate state for
inclusion in the OCaml documentation, it does cover a few
porting pitfalls.

Related Tasks:

No Related Tasks

Attached Files:

No Files Currently Attached

Changes:

No Changes Have Been Made to This Item


Powered By GForge Collaborative Development Environment