Question YA question 

Forum: Com Sci 221, U Chicago, Autumn 2001, Discuss Classwork
Re: News Assignment #8 due Monday, 26 November (Mike O'Donnell)
Date: 2001, Nov 21
From: Ben Wolfson wolfson

In the definition of anamerge, the local mergehead function has argument lists
let fun mergehead (c1, w1) []                 = ...
     |  mergehead (c1, w1) ((c2 :: l2) :: rr) = ...
Here the types of mergehead's arguments are string*string and string list list. If the second definition had mergehead (c1,w1) ((c2,l2)::rr) = ..., so that the type of its second argument would be (string*string) list, the function itself as well as the body of anamerge would be much easier to write. Would writing mergehead with these argument types be ok?


Messages

1. Feedback I recommend you keep the types as they are by Mike O'Donnell, 2001, Nov 21
(_ None Changing mergehead by Jake Lilly, 2001, Nov 28
(_ None it's also possible the current way by Ben Wolfson, 2001, Nov 28
(_ Question Untitled by M.J., 2001, Nov 28
(_ Disagree (x,y) is a pair, not a list by Mike O'Donnell, 2001, Nov 28
(_ None Thanks by msjohnso@uchicago.edu, 2001, Nov 28
(_ Question Still confused by msjohsno@cs.uchicago.edu, 2001, Nov 28
1. Feedback pairs go in, lists come out by Mike O'Donnell, 2001, Nov 28
1. Question Okay then... by msjohnso@uchicago.edu, 2001, Nov 28
... 1 Message(s)
2. Idea Wait a minute..., 2001, Nov 28
... 1 Message(s)
2. Feedback remeber that it's merge*head* by Ben Wolfson, 2001, Nov 28
1. Ok Thanks by M.J., 2001, Nov 28

to: "YA question"