I have to represent [[fruits],[ ] ] in dot notation form in Prolog, and below is how I did it ,but something tells me this is wrong because I have expanded [[ ]] too, is this incorrect ?
.([fruits],[[ ]] )
.(.(fruits, []),.([],[])
I have to represent [[fruits],[ ] ] in dot notation form in Prolog, and below is how I did it ,but something tells me this is wrong because I have expanded [[ ]] too, is this incorrect ?
.([fruits],[[ ]] )
.(.(fruits, []),.([],[])