00:58:42 -!- calamari has quit ("Leaving"). 
02:33:56 -!- kipple has quit ("See you later"). 
02:42:37 -!- ihope_ has quit (Read error: 104 (Connection reset by peer)). 
03:14:39 -!- calamari has joined. 
03:56:27 -!- fungebob has joined. 
04:31:50 -!- Sgeo has quit. 
04:58:04 -!- Arrogant has joined. 
05:15:08 -!- Paragon_ has joined. 
05:18:45 -!- Arrogant has quit (Nick collision from services.). 
05:18:53 -!- Paragon_ has changed nick to Arrogant. 
06:00:07 -!- GregorR has quit (Remote closed the connection). 
06:00:33 -!- GregorR_ has joined. 
07:19:02 -!- GregorR__ has joined. 
07:19:02 -!- GregorR_ has quit (Remote closed the connection). 
07:20:15 -!- calamari has quit (Remote closed the connection). 
07:59:59 -!- clog has quit (ended). 
08:00:00 -!- clog has joined. 
09:36:31 -!- clog has joined. 
09:36:31 -!- clog has joined. 
09:38:00 -!- kipple has joined. 
11:56:30 -!- GregorR__ has quit (Remote closed the connection). 
13:02:07 -!- jix has joined. 
13:31:31 -!- ztpin has changed nick to lwrtzy. 
13:52:11 -!- GregorR__ has joined. 
14:13:48 -!- GregorR___ has joined. 
15:01:26 -!- GregorR___ has quit (Remote closed the connection). 
15:01:52 -!- GregorR___ has joined. 
15:21:19 -!- Freya has joined. 
15:21:20 -!- Freya has changed nick to nooga. 
15:21:39 <nooga> i'm looking for a way to check if a tree is a subtree of another 
15:24:09 <SimonRC> isSubTree n m@(Node _ l r) = n == m || n `isSubTree` l || m `isSubTree` r 
15:25:38 <nooga> 2 513 134 105 86 07 00 09 00 0 
15:25:56 <nooga> i've got a tree in such format 
15:27:06 <nooga> how to parse it in haskell to get it in a format siutable for your algo? ;p 
15:29:45 <nooga> [16:26] <nooga> 2 3 
15:29:45 <nooga> [16:26] <nooga> 0 0 
15:29:45 <nooga> [16:26] <nooga> 0 0 
15:30:05 <SimonRC> They look like lists, not trees 
15:32:58 <nooga> node 1: lchild=2, rchild=3 
15:33:16 <nooga> node 2: lchild=none ... 
15:33:53 <SimonRC> well, you first want to read in an Integer and a list of pairs of Integers, then... 
15:34:28 <SimonRC> convert the list to a Map from index to pair of Integers, then... 
15:34:53 <nooga> i'm not good at haskel... eh 
15:44:46 <nooga> make it compatible with:  isSubTree n m@(Node _ l r) = n == m || n `isSubTree` l || m `isSubTree` r 
15:45:43 <SimonRC> data Tree a = Node a (Tree a) (Tree a) | Nil 
15:48:05 <SimonRC> erm, what data do you want in your trees? 
15:49:44 <SimonRC> I have realised that you have no data to put in them. 
15:50:45 <nooga> no data, just plain structure 
15:56:10 <nooga> and how's it going? 
16:11:03 -!- GregorR___ has changed nick to GregorR. 
16:13:15 <SimonRC> what compiler do you have? 
16:14:18 <jix> moin GregorR 
16:15:05 <SimonRC> nooga: good, it's needed for Data.Map 
16:15:08 <GregorR> *incomprehensible morning mutter* 
16:15:24 <SimonRC> http://rafb.net/paste/results/ZipFnd92.html 
16:15:34 <GregorR> http://i15.photobucket.com/albums/a379/GregorRichards/Hamburger.jpg 
16:15:36 <SimonRC> It loads, and you example works 
16:19:14 <nooga> i'm so stupid boooo -.--' 
16:30:05 <nooga> how do i suppose to parse a file with this? 
16:31:05 <nooga>     Constructor `Node' should have 2 arguments, but has been given 3 
16:31:05 <nooga>     In the definition of `isSubTree': 
16:31:05 <nooga>         isSubTree n (m@(Node _ l r)) 
16:31:05 <nooga>                     = (n == m) || ((n `isSubTree` l) || (m `isSubTree` r)) 
16:41:01 -!- Sgeo has joined. 
17:04:22 -!- GregorR has quit (Remote closed the connection). 
17:04:42 -!- GregorR has joined. 
17:05:42 <nooga> javax.lang.stuff.for.smart.people.be.careful.lambda 
17:10:22 -!- GregorR has quit (Remote closed the connection). 
17:10:39 -!- GregorR has joined. 
17:39:10 <SimonRC> remove the _ from the first line 
17:40:07 <SimonRC> nooga: you will need to write your own parser 
17:54:30 -!- nooga has quit. 
18:00:19 -!- calamari has joined. 
18:23:01 <SimonRC> you missed nooga by 5 mins 
18:26:49 <calamari> that's okay, I know nothing about haskell 
18:37:28 -!- calamari has quit ("Leaving"). 
18:40:38 -!- GregorR-L has joined. 
19:16:53 -!- GregorR-L has quit (Read error: 113 (No route to host)). 
19:45:24 -!- GregorR-L has joined. 
19:53:05 -!- GregorR-L has quit (Remote closed the connection). 
19:53:38 -!- GregorR-L has joined. 
21:02:17 -!- GregorR has quit (Remote closed the connection). 
21:19:59 -!- jix has left (?). 
21:47:11 -!- GregorR-L has quit (Read error: 113 (No route to host)). 
22:05:47 -!- GregorR-L has joined. 
23:51:43 -!- GregorR-L has quit.