Wednesday, 21 November 2012< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room title: "Zotonic"
Allow users to change subject
Allow users to send private messages
Allow users to query other users
Allow users to send invites
Make room semianonymous
Default users as participants
Make room members-only
Make room moderated
Make room password protected
Make room persistent
Make room public searchable
Make participants list public
[03:06:28] aRyo joins the room
[03:06:45] aRyo leaves the room
[09:18:40] arjan joins the room
[09:58:13] Andreas Stenius joins the room
[10:23:08] arjan leaves the room
[11:53:53] arjan joins the room
[12:49:37] <Andreas Stenius> hey, arjan: I was thinking of adding some spec's and type's. and need some webzmachine types. I'm trying to figure out the best place to put them. I'm thinking of putting them in either webzmachine directly, or in wrq. The former makes sense if we put all webzmachine types in there, the latter if we put the types in the module where it is mainly used...
[13:05:00] <arjan> wrq is an include file right?
[13:10:26] <Andreas Stenius> no, erl module
[13:10:47] <Andreas Stenius> -type definitions should go into modules, if I'm not mistaken...
[13:11:06] <Andreas Stenius> http://erlang.org/doc/reference_manual/typespec.html#id75521
[13:11:21] <Andreas Stenius> as they are -export_type().'d
[13:13:21] <arjan> yes that makes sense
[13:13:34] <arjan> I dont have a real preference really
[13:13:50] <arjan> I'd say put them all together in webzmachine
[13:15:54] <Andreas Stenius> nice (that's what I've done).
[13:20:57] <Andreas Stenius> hmm, weird... using types that is not declared gives an error:
[13:21:10] <Andreas Stenius> src/support/z_acl.erl:289: type foo() undefined
[13:21:53] <Andreas Stenius> but change that to webzmachine:foo() and it is ok (but foo isn't declared in webzmachine either...)
[13:22:41] <arjan> it takes it for granted in that case, I guess
[13:29:39] <Andreas Stenius> which is wrong, it ought to look it up. maybe dializer does that, at least...
[13:29:50] <Andreas Stenius> oh well..
[13:35:36] <arjan> might be
[13:35:41] <arjan> I dont know much about dialyzer
[15:57:48] arjan leaves the room
[17:04:01] arjan joins the room
[17:14:36] arjan leaves the room
[17:14:56] arjan joins the room
[17:16:41] arjan leaves the room
[17:55:32] Andreas Stenius leaves the room
[17:55:43] andreas.stenius joins the room
[20:35:39] arjan joins the room
[21:09:15] andreas.stenius leaves the room
[22:07:29] arjan leaves the room
[22:11:12] arjan joins the room
[22:44:06] arjan leaves the room