fun Dbt (nil,_) = nil
| Dbt (x::xs,y::ys) = (x::y)::(Dbt(xs,ys))
| Dbt (x::xs,nil) = [x]::(Dbt(xs,nil));
Is there a way of defining this function non-recursively by using higher order and or in built functions in sml??I have tried all I can but it seems I am not going anywhere.Any ideas will be appreciated thanks..