Skip to content

Instantly share code, notes, and snippets.

Abbas Tolgay Yılmaz streamerd

  • Hamburg
Block or report user

Report or block streamerd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
streamerd / Project.hs
Created Mar 7, 2018
source file: Project.hs
View Project.hs
{- # LANGUAGE GeneralizedNewtypeDeriving #-}
module Project where
import Data.Text (Text)
newtype Money = Money
{ unMoney :: Double
} deriving (Show, Eq, Num)
streamerd / error log
Created Mar 7, 2018
stack build throwing error for type: 'Money', No instance for (Eq Money)
View error log
/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)
| ^^
streamerd /
Created Apr 3, 2017
SocketCastify created by streamerd -
public class Main {
public static void main(String[] args) throws InterruptedException, IOException {
File file = new File("nodeIpAddresses");
You can’t perform that action at this time.