basis-library/libs/basis-1997/io/bin-io-convert.fun
raw| 1 | (* Copyright (C) 2002-2005 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 | functor BinIOConvert |
| 9 | (structure BinIO: BIN_IO) : |
| 10 | BIN_IO_1997 = |
| 11 | struct |
| 12 | open BinIO |
| 13 | |
| 14 | structure StreamIO = |
| 15 | struct |
| 16 | open StreamIO |
| 17 | val inputAll = #1 o inputAll |
| 18 | end |
| 19 | end |