[ Boki DX-11 @ 09.01.2011. 16:15 ] @
Pozdrav, ne stojim bas najbolje sa haskellom, a hitno mi trebaju resenja ovih zadataka. Ukoliko je neko voljan da pomogne, bio bih mu veoma zahvalan... 1. Define the function which tinds where a straight line crosses the x-axis. You will need to think about how to supply the information about the straight line to thc function. 2. Design test data for the previous exercises; explain the choices you have made in each case. Give a sample evaluation of each of your functions. 3. Projektujte funkciju Code: wc :: String -> (Int, Int, Int) koja, za dati tekstualni sled (string), daje broj karaktera, reči i linija u sledu. Kraj linije u sledu je označen znakom za novi red, ‘\n’. Definišite sličnu funkciju Code: wcFormat :: String -> (Int, Int, Int) Hvala |