This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/streamerd/Developer/hs/haskellAtWork/projectz/Project.hs:28:21: error: | |
• No instance for (Eq Money) | |
arising from the first field of ‘Sale’ (type ‘Money’) | |
Possible fix: | |
use a standalone 'deriving instance' declaration, | |
so you can specify the instance context yourself | |
• When deriving the instance for (Eq Transaction) | |
| | |
28 | deriving (Show, Eq) | |
| ^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
public class Main { | |
public static void main(String[] args) throws InterruptedException, IOException { | |
File file = new File("nodeIpAddresses"); |
NewerOlder