Writefile
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 7 articles for 0.312 sec
Bill Atkins-6 wrote: > > readFile reads the file lazily so it isn't closed until the entire > contents have been consumed. > > Try System.IO.Strict.readFile, which will read the entire file at once. > Yes, and i can use appendFile too. > > appendFile "ssqHitNum.txt" $ unwords $ [no] ++ map (\n -> show n) hitNum > ++ ["\n"] > > zaxis <z_axis@163.com> writes: > >> hitSSQ ::     

Group: fa.haskell · Group Profile · Search for Writefile in fa.haskell
Author: zaxis
Date: Jun 7, 2010 17:37

readFile reads the file lazily so it isn't closed until the entire contents have been consumed. Try System.IO.Strict.readFile, which will read the entire file at once. zaxis <z_axis@163.com> writes: hitSSQ :: String -> [Int] -> IO () hitSSQ no hitNum = do let newNum = unwords $ [no] ++ map (\n -> show n) hitNum hitNums <- fmap lines $ readFile "test.txt" writeFile "test
Show full article (1.25Kb) · Show article thread
zaxis <z_axis@163.com> writes: > hitSSQ :: String -> [Int] -> IO () > hitSSQ no hitNum = do > let newNum = unwords $ [no] ++ map (\n -> show n) hitNum > hitNums <- fmap lines $ readFile "test.txt" > writeFile "test.txt" $ unlines $ hitNums ++ [newNum] > > *** Exception: test.txt: openFile: resource busy (file is locked) You're currently reading the file; finish reading it and     

Group: fa.haskell · Group Profile · Search for Writefile in fa.haskell
Author: Bill Atkins
Date: Jun 7, 2010 16:18

hitSSQ :: String -> [Int] -> IO () hitSSQ no hitNum = do let newNum = unwords $ [no] ++ map (\n -> show n) hitNum hitNums <- fmap lines $ readFile "test.txt" writeFile "test.txt" $ unlines $ hitNums ++ [newNum] *** Exception: test.txt: openFile: resource busy (file is locked) Sincerely! ----- e^(π⋅i) + 1 = 0 -- View this message in context: http://old.nabble.com/After
Show full article (0.66Kb) · Show article thread
Hi , Thanks for your suggestion. For internet appliance and industrial controller template there might be some differnece. can you suggest me , where should i look for these changes so we can track this scenerio. Regards, Chetan "Paul G. Tobey [eMVP]" wrote: > That suggests that the *particular* port you are opening is different in some > way in each of those cases. The registry     

Group: fa.haskell · Group Profile · Search for Writefile in fa.haskell
Author: Ivan Lazar Miljenovic
Date: Jun 7, 2010 15:53

Hallo zusammen, ich habe gerade das Problem, das ich ein Webseite mit Download Funktionalität erstellen soll. Es ist zwar nicht die erste Web App die eine Download Funktionalität enthält, jedoch ist das verhalten dieses mal leider etwas anders. In diesem Fall ist es nicht möglich es über einen Desponse Header zu machen, wie z.B. in diesem Code SnipIt: ------------------------------
Show full article (0.79Kb) · Show article thread
    

Group: fa.haskell · Group Profile · Search for Writefile in fa.haskell
Author: zaxis
Date: Jun 7, 2010 15:43

Show full article (0.70Kb)
    

Group: microsoft.public.windowsce.platbuilder · Group Profile · Search for Writefile in microsoft.public.windowsce.platbuilder
Author: Chetan
Date: Jun 7, 2010 22:24

Show full article (3.74Kb)
    

Group: fa.haskell · Group Profile · Search for Writefile in fa.haskell
Author: Bill Atkins
Date: Jun 7, 2010 18:34

Show full article (0.39Kb) · Show article thread
    

Group: microsoft.public.de.german.entwickler.dotnet.asp · Group Profile · Search for Writefile in microsoft.public.de.german.entwickler.dotnet.asp
Author: Andre Grumbach
Date: Jan 29, 2010 01:16

Show full article (1.36Kb)