I have seperate functions for reading from a text file (depending on whether its an int,float or double). I would like just one function with an additional argument (without using a subsequent IF stat
Basically I have this application which scans through all mp3\'s in a folder and returns a list of files without duplicates. I have two methods to perform this task. The first removed duplicate file n
I have to listern a file, when its content is added, I will read the new line, and work on the content of the new line.
Is there a way in Java to write to disk a large array of, say, integers? I am doing this on an Android, and have not found a method that comes anywhere close to native C code.
I need to read a File containing chars like \'ç\' ou \'á\'... The Problem is that when I try to readFile a txt file, GHC returns: illegal byte sequence.
I was just writing a quick bit of code, and I wanted to use the guard function in the IO Monad. However, there is no definition of MonadPlus for IO which means that we cannot use guard in IO land. I h
i have usb-modem that i can comunicate with it using AT-Command. i can send and recive sms using it. we know that we can insert an SD-Card into the usb-modem and use it as a storage device
I have a Java program running under Windows XP. It reads a file and closes the file, or at least that\'s what it\'s supposed to do.
What is the easiest way to save and load data in python, preferably in a human-readable output format?
my goal is to write Haskell function which reads N lines from input and joins them in one string. Below is the first attempt: