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
4548dc75
Commit
4548dc75
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2003-11-25 13:58:26 by cmiachon] Empty log message
Original author: cmiachon Date: 2003-11-25 13:58:26+00:00
parent
8c2d3f50
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/cql/q6.cd
View file @
4548dc75
(*********function *********)
let fun count([Any*]->Int)
[] -> 0
| [
h
;t] -> 1+count(t);;
| [
_
;t] -> 1+count(t);;
(***************************)
...
...
@@ -19,9 +19,9 @@ where count([b]/<author>_)>=1;;
let q6p=
<bib>
select <book>[t !a
1
!(if el=[] then [] else [<et-al>[]])]
select <book>[t !a !(if e
ta
l=[] then [] else [<et-al>[]])]
from <bib>[b::Book*] in [doc],
<book>[t&Title (a
1
&Author | a
1
::(Author Author) el::_*) Publisher _*
<book>[t&Title (
a&Author | a::(Author Author) e
ta
l::_*) Publisher _*
] in b;;
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