File: objptr-rep32.sml

package info (click to toggle)
mlton 20100608-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 34,980 kB
  • ctags: 69,089
  • sloc: ansic: 18,421; lisp: 2,879; makefile: 1,570; sh: 1,325; pascal: 256; asm: 97
file content (16 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(* Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh
 *    Jagannathan, and Stephen Weeks.
 *
 * MLton is released under a BSD-style license.
 * See the file MLton-LICENSE for details.
 *)

structure ObjptrInt = Int32
structure ObjptrWord = Word32

functor ObjptrInt_ChooseIntN (A: CHOOSE_INTN_ARG) :
   sig val f : ObjptrInt.int A.t end = 
   ChooseIntN_Int32 (A)
functor ObjptrWord_ChooseWordN (A: CHOOSE_WORDN_ARG) :
   sig val f : ObjptrWord.word A.t end = 
   ChooseWordN_Word32 (A)