Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
5dccff6d
Commit
5dccff6d
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2005-07-08 15:07:02 by afrisch] fix samples
Original author: afrisch Date: 2005-07-08 15:07:02+00:00
parent
e53a5d67
Changes
1
Hide whitespace changes
Inline
Side-by-side
types/sample.ml
View file @
5dccff6d
...
...
@@ -32,11 +32,10 @@ let rec get memo t =
let
r
=
Types
.
Record
.
get
t
in
let
r
=
List
.
sort
(
fun
(
_
,_,
n1
)
(
_
,_,
n2
)
->
-
(
compare
n1
n2
))
r
in
try_seq
record
r
with
Not_found
->
try
Types
.
Arrow
.
sample
t
with
Not_found
->
t
(*
raise Not_found
*)
try
Types
.
Arrow
.
sample
t
with
Not_found
->
raise
Not_found
(* t *)
(* raise Not_found *)
let
get
=
get
D
.
empty
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment