The TextStreamIO 구조
The TextStreamIO 구조
텍스트 스트림에 대한 함수형(재지정 불가) 스트림 I/O를 제공하는 구조예요.
출처: 문서
본문
시놉시스 (Synopsis)
signature TEXT_STREAM_IO
인터페이스 (Interface)
include STREAM_IO
where type vector = CharVector.vector
where type elem = Char.char
val inputLine : instream -> (string * instream) option
val outputSubstr : outstream * substring -> unit
설명 (Description)
inputLine strm
함수형 입력·출력 스트림 타입을 정의해요.
outputSubstr (strm, ss)
input·output은 순수 함수형으로 스트림을 소비·생성해요.
output (strm, Substring.string ss)
더 알아보기 (Learn more)
- [ Top | Parent | Contents | Index | Root ] Generated April 12
- 2004 Last Modified July 1
- 2002 Comments to John Reppy. This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy. Copyright © 2004 AT&T and Lucent Technologies. All rights reserved. Permission is granted for internet users to make one paper copy for their own personal use. Further hardcopy reproduction is strictly prohibited. Permission to distribute the HTML document electronically on any medium other than the internet must be requested from the copyright holders by contacting the editors. Printed versions of the SML Basis Manual are available from Cambridge University Press. To order
- please visit www.cup.org (North America) or www.cup.cam.ac.uk (outside North America).