basis-library/config/c/errno.sml
raw| 1 | (* Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh |
| 2 | * Jagannathan, and Stephen Weeks. |
| 3 | * |
| 4 | * MLton is released under a HPND-style license. |
| 5 | * See the file MLton-LICENSE for details. |
| 6 | *) |
| 7 | |
| 8 | structure C_Errno :> |
| 9 | sig |
| 10 | type 'a t |
| 11 | val check: 'a t -> 'a |
| 12 | val inject: 'a -> 'a t |
| 13 | end = |
| 14 | struct |
| 15 | type 'a t = 'a |
| 16 | val check = fn x => x |
| 17 | val inject = fn x => x |
| 18 | end |