31.07.2013, 05:03, "Michael Xavier" mich...@michaelxavier.net:angel is a daemon "angel is a background process" sounds better. Sorry for offtopic
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Well, we can say "concepts" in place of "theory". And I'm comparing Eiffel with other OOP lang, not with some langs based on a solid math theory (lambda calcules for FP langs, for example). ok? DbC is not the same as "assert macros". First, it has a lang semantic. There is an interesting
Opps... I forgot about Eiffel agents! PS. After participationing in this discussion I'm tempting to reread Meyer's book after 10 years interval, to have a detailed look at the eiffel from the FP position. When I read this book first I know nothing about FP.
Eiffel, for my opinion, is a best OOP language. Meyer use a theoretical approach as it is possible in OOP. 01.01.2013, 23:56, "Bob Hutchison" hutch-li...@recursive.ca:On 2012-12-31, at 4:26 PM, Rico Moorman rico.moor...@gmail.com wrote:Hello Bob and Mike, Reading a little within the suggested book
ll need DbC?For example, class invariants may be expressed in DbC construction (fmap id = id for Functior, for example). 02.01.2013, 02:41, "Mike Meyer" m...@mired.org:MigMit miguelim...@yandex.ru wrote:On Jan 1, 2013, at 10:23 PM, Никитин Лев leon.v.niki...@pravmail.ruwrote: Eiffel, for my op
And I'd be very interested.Let me know too, please. 20.11.2012, 13:32, "John Wiegley" jo...@newartisans.com: KC kc1...@gmail.com writes: Instead of Haskell running on the JVM is there a way for Haskell to call a JVM language (or generate bytecode) to access the Java class libraries when needed?
Thanx to all. I've done it!
===
import Text.XML.HXT.Core
import Text.XML.HXT.Curl
import Text.XML.HXT.HTTP
import Control.Arrow.ArrowNavigatableTree
pageURL = http://localhost/test.xml;
main = do
r - runX (configSysVars [withCanonicalize no, withValidate no, withTrace
0,
Hello, haskellers.
Suppose we have this xml doc (maybe, little stupid):
div
spanSome story/span
spanDescription/span: This story about...
spanAuthor/span: Tom Smith
/div
In the end I whant to get list: [(Title, Some story), (Description,This
story about...), (Author, Tom Smith)],
or,
I absolutly agree with you but unfortunetly, it is not my xml file.It is extraction from html page of public web server. I cannot to change format of this html page.Sorry. I had to explain it in first letter. But than what about to get sibling text (geting sibling is an separate interesting tasks
, Student B-TI)
w.g.g.vanas...@student.utwente.nl:
You might want to check out the xml-conduit package. It has preceding
and following sibling Axis. I am not sure how the package works
exactly, but it seems to be a good starting point.
2012/3/15 Никитин Лев leon.v.niki...@pravmail.ru:
I absolutly
Maybe everytime you use 'cell' you tell haskell to create NEW cell.
Try this:
push' i cell = modifyIORef cell (++ [i])
main = do
cell - newIORef []
push' x cell {- push' 3 cell will be incorrect in this case -}
push' o cell
readIORef cell = return
Why the original code porduces
29.12.2011, 23:55, Gregg Reynolds d...@mobileink.com:
Haskell does not and cannot know what the result of an IO action is, because
it's outside the scope of the language (and computation). (The Int part of
IO Int refers to the input, not the output; it's just a sort of type
Of course we take in matter what computation getStr :: IO [Char] means.
Of course we take in matter what computation putStr :: String - IO () means
(I know, putStr is not computation, puStr x is computation, but it's not
important)
And If I want to write echo program, I have to combine these
If seed depends of psudo random event, for example of current systime,
we must use IO action.
30.12.2011, 02:47, Steve Horne sh006d3...@blueyonder.co.uk:
BTW - why use an IO action for random number generation? There's a
perfectly good pure generator. It's probably handy to treat it
Пересылаемое сообщение
20.10.10, 00:22, Никитин Лев leon.v.niki...@pravmail.ru:
Are formlets integrated with HSP?
hsp support is in a separate package:
http://hackage.haskell.org/package/formlets-hsp
There is a demo of using HSP+Formlets+Happstack here:
http
Пересылаемое сообщение
18.10.10, 23:58, Никитин Лев leon.v.niki...@pravmail.ru:
Пересылаемое сообщение
18.10.10, 23:57, Никитин Лев :
Well. Thanks. I've just have a look at formlets. I think is what i need.
But I'm using now HSP. Are formlets integrated
16 matches
Mail list logo