You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Bwd.append has type 'a bwd -> 'a list -> 'a bwd; this isn't consistent with the API for lists, which has a homogenous List.append : 'a list -> 'a list -> 'a list. I propose that we rename the current Bwd.append to Bwd.append_list, Bwd.prepend to Bwd.prepend_list, and add a homogenous Bwd.append : 'a bwd -> 'a bwd -> 'a bwd function.
The text was updated successfully, but these errors were encountered:
I think it's possible to justify the current usage of append, but I would like to talk about something else first: I'm a bit hesitant about prepand_list because it is not prepanding a list. Could you possibly elaborate on it?
Currently,
Bwd.append
has type'a bwd -> 'a list -> 'a bwd
; this isn't consistent with the API for lists, which has a homogenousList.append : 'a list -> 'a list -> 'a list
. I propose that we rename the currentBwd.append
toBwd.append_list
,Bwd.prepend
toBwd.prepend_list
, and add a homogenousBwd.append : 'a bwd -> 'a bwd -> 'a bwd
function.The text was updated successfully, but these errors were encountered: