Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

oo(3o) [debian man page]

Oo(3o)								   OCaml library							    Oo(3o)

NAME
Oo - Operations on objects Module Module Oo Documentation Module Oo : sig end Operations on objects val copy : (< .. > as 'a) -> 'a Oo.copy o returns a copy of object o , that is a fresh object with the same methods and instance variables as o val id : < .. > -> int Return an integer identifying this object, unique for the current execution of the program. OCamldoc 2012-06-26 Oo(3o)

Check Out this Related Man Page

Stream(3o)							   OCaml library							Stream(3o)

NAME
Stream - Streams and parsers. Module Module Stream Documentation Module Stream : sig end Streams and parsers. type 'a t The type of streams holding values of type 'a . exception Failure Raised by parsers when none of the first components of the stream patterns is accepted. exception Error of string Raised by parsers when the first component of a stream pattern is accepted, but one of the following components is rejected. === Stream builders Warning: these functions create streams with fast access; it is illegal to mix them with streams built with [< >]; would raise Failure when accessing such mixed streams. === val from : (int -> 'a option) -> 'a t Stream.from f returns a stream built from the function f . To create a new stream element, the function f is called with the current stream count. The user function f must return either Some <value> for a value or None to specify the end of the stream. val of_list : 'a list -> 'a t Return the stream holding the elements of the list in the same order. val of_string : string -> char t Return the stream of the characters of the string parameter. val of_channel : Pervasives.in_channel -> char t Return the stream of the characters read from the input channel. === Stream iterator === val iter : ('a -> unit) -> 'a t -> unit Stream.iter f s scans the whole stream s, applying function f in turn to each stream element encountered. === Predefined parsers === val next : 'a t -> 'a Return the first element of the stream and remove it from the stream. Raise Stream.Failure if the stream is empty. val empty : 'a t -> unit Return () if the stream is empty, else raise Stream.Failure . === Useful functions === val peek : 'a t -> 'a option Return Some of "the first element" of the stream, or None if the stream is empty. val junk : 'a t -> unit Remove the first element of the stream, possibly unfreezing it before. val count : 'a t -> int Return the current count of the stream elements, i.e. the number of the stream elements discarded. val npeek : int -> 'a t -> 'a list npeek n returns the list of the n first elements of the stream, or all its remaining elements if less than n elements are available. OCamldoc 2012-06-26 Stream(3o)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

retreiving and assigning values and manipulating string in a for loop

Hi I am new to shell scripting and i am preparing a script. for now i am work on a sub part of it..but i am unable to make it work. --- the test code that i am working on -------------------------- IFS="" Sample_eve=`psg proc_s | grep tY` n=0 for line in $Sample_eve... (41 Replies)
Discussion started by: Anteus
41 Replies

2. SCO

SCO UNIX Won't Boot

Our system is not booting up properly. It keeps going to this screen: Enter Run Level (0-6, s or S): I tried to hit all nos# 0-6 is just goes to hung state. Tried s or S & it brings me to single user mode. I've checked the file systems & found out that all three had 98%. I tried to... (86 Replies)
Discussion started by: jedimaster
86 Replies

3. Emergency UNIX and Linux Support

Unbootable solaris 10 x86

Hi all, I have unbootable Solaris 10 x86 installed on ZFS root file system. on an IDE HDD The bios keep showing the msg DISK BOOT FAILURE , PLEASE INSERT SYSTEM BOOT DISK please note : the HDD is connected properly and recognized by the system is there any guide to recover the system ,... (67 Replies)
Discussion started by: h@foorsa.biz
67 Replies

4. Solaris

Solved: Disk Unable to Boot

Update: The / file system (/dev/rdsk/c1t0d0s0) is being checked fsck unable to stat WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0). Root password for system maintenance (control-d to bypass): I am unable to hit control-d to by pass. I... (50 Replies)
Discussion started by: br1an
50 Replies

5. Solaris

Bad magic number in disk label.

This is first time post...found this forum when looking for possible solution to fix my sun pc. Just one day can't boot it already showing the following: Boot device: disk File args: Bad magic number in disk label Can't open disk label package Evaluating: boot Can't open boot device... (40 Replies)
Discussion started by: SHuKoSuGi
40 Replies

6. Shell Programming and Scripting

UNIX Shell Scripting (Solaris) for File Checking

Hi guys, I'm sorry but i badly need your help. I am assigned to do a basic shell script in my job but sadly i don't have any idea on what it is because i am an electronics engineer, but i googled all of it, ask my friends but i cant finalize my scripts. so do please help me. The requirement... (47 Replies)
Discussion started by: daveaztig14
47 Replies

7. UNIX for Beginners Questions & Answers

SCO OpenServer 5 Will Not Boot

We have a legacy system that runs on SCO OpenServer 5.0.6, and I've rebuilt the server a couple of times so we can have access to old historical data. That system suddenly went offline for no known reason, and I know that the configuration has not been altered, there is nobody with access to the... (63 Replies)
Discussion started by: spock9458
63 Replies