Re: gen-interface and deftype with types, compilation problem

2012-12-18 Thread Vladimir Matveev
писал: > > Ah right, sorry to mislead. > > > On Tue, Dec 18, 2012 at 2:26 PM, Vladimir Matveev > > > wrote: > >> Thanks, but it seems that I have found the source of problem, though I do >> not know why compiler message is so uninformative and misleading. >&g

Re: gen-interface and deftype with types, compilation problem

2012-12-18 Thread Vladimir Matveev
avid > > > On Tue, Dec 18, 2012 at 1:46 PM, Vladimir Matveev > > > wrote: > >> Well, it is news for me since it is not documented anywhere. Why is this >> so? BTW, typehinting value in '(let [value (aget data depth)]' binding >> gives an erro

Re: gen-interface and deftype with types, compilation problem

2012-12-18 Thread Vladimir Matveev
It is definterface example, I have arrays only in deftype. вторник, 18 декабря 2012 г., 23:16:09 UTC+4 пользователь Jim foo.bar написал: > > On 18/12/12 18:46, Vladimir Matveev wrote: > > Well, it is news for me since it is not documented anywhere. Why is this > so? >

Re: gen-interface and deftype with types, compilation problem

2012-12-18 Thread Vladimir Matveev
Just tested it, swapping body of stackPop with (aget data depth) has the same effect as swapping it with zero, i.e. it fixes the error, unfortunately, not in the correct way. вторник, 18 декабря 2012 г., 22:46:53 UTC+4 пользователь Vladimir Matveev написал: > > Well, it is news for me si

Re: gen-interface and deftype with types, compilation problem

2012-12-18 Thread Vladimir Matveev
a field as a primitive array. > > On Tuesday, December 18, 2012, Vladimir Matveev wrote: > >> Hello, >> >> Consider the following code >> >> (gen-interface >> :name IntStack >> :methods [[stackPeek [] int] >> [stackPush [in

gen-interface and deftype with types, compilation problem

2012-12-18 Thread Vladimir Matveev
Hello, Consider the following code (gen-interface :name IntStack :methods [[stackPeek [] int] [stackPush [int] void] [stackPop [] int] [stackDepth [] int]]) (deftype IntStackImpl [^{:tag ints :unsynchronized-mutable true} data ^{:tag int :unsynchroniz

Re: Disable colored output

2012-02-29 Thread Vladimir Matveev
rote: > I'm reasonably sure that with maven you can pass system properties using the > form > >         mvn goalname -Dinsert.property.here=true > > R. > > On 27 Feb 2012, at 17:54, Vladimir Matveev wrote: > > > > > > > > > Thank you again, I will

Re: Disable colored output

2012-02-27 Thread Vladimir Matveev
Thank you again, I will try to look harder for it. On Feb 27, 5:46 pm, Stuart Sierra wrote: > Sorry, Vladimir, I don't have an answer for you right now. I'm sure there's > a way to set system properties in Maven, but I don't have the relevant > documentation at hand. > > -S -- You received this

Re: Disable colored output

2012-02-27 Thread Vladimir Matveev
e an option for such thing? On Feb 26, 7:31 pm, Stuart Sierra wrote: > Yes, you can disable ANSI colors by setting the Java system property > "lazytest.colorize" to "false". > > -Stuart Sierra > > > > > > > > On Saturday, February 25, 2012

[lazytest] Disable colored output

2012-02-26 Thread Vladimir Matveev
Hello, I'm using IntelliJ IDEA to develop my clojure programs and I'm using lazytest to test them. I'm also using maven and corresponding IDEA plugin to manage my projects. When I run lazytest:run goal using this plugin, the console window shows console output of 'mvn lazytest:run' command, but si