parsing arrow types