Chadwick K. Boggs | 5 Jan 14:33
Picon

How do I contribute?

Do I just E-mail in my code changes for the Nice programming language?

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
SourceForge.net | 14 Apr 17:45
Picon
Favicon

[ nice-Feature Requests-671444 ] Enhanced Null testing with class or instance variables

Feature Requests item #671444, was opened at 2003-01-20 22:52
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362788&aid=671444&group_id=12788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Bryn Keller (xoltar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhanced Null testing with class or instance variables

Initial Comment:
Background:

Nice currently allows local variables which are of
option types to be tested using simple "if" statements:

?String foo = null;
// ...
if (foo != null) {
   //Here foo is of type String, not ?String.
}

Within the body of a (foo != null) block, foo is
(Continue reading)

SourceForge.net | 14 Apr 17:37
Picon
Favicon

[ nice-Feature Requests-671444 ] Enhanced Null testing with class or instance variables

Feature Requests item #671444, was opened at 2003-01-20 22:52
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362788&aid=671444&group_id=12788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Bryn Keller (xoltar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhanced Null testing with class or instance variables

Initial Comment:
Background:

Nice currently allows local variables which are of
option types to be tested using simple "if" statements:

?String foo = null;
// ...
if (foo != null) {
   //Here foo is of type String, not ?String.
}

Within the body of a (foo != null) block, foo is
(Continue reading)

SourceForge.net | 14 Apr 17:29
Picon
Favicon

[ nice-Feature Requests-671444 ] Enhanced Null testing with class or instance variables

Feature Requests item #671444, was opened at 2003-01-20 22:52
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362788&aid=671444&group_id=12788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Bryn Keller (xoltar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhanced Null testing with class or instance variables

Initial Comment:
Background:

Nice currently allows local variables which are of
option types to be tested using simple "if" statements:

?String foo = null;
// ...
if (foo != null) {
   //Here foo is of type String, not ?String.
}

Within the body of a (foo != null) block, foo is
(Continue reading)

SourceForge.net | 14 Apr 00:55
Picon
Favicon

[ nice-Feature Requests-671444 ] Enhanced Null testing with class or instance variables

Feature Requests item #671444, was opened at 2003-01-20 22:52
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362788&aid=671444&group_id=12788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Bryn Keller (xoltar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhanced Null testing with class or instance variables

Initial Comment:
Background:

Nice currently allows local variables which are of
option types to be tested using simple "if" statements:

?String foo = null;
// ...
if (foo != null) {
   //Here foo is of type String, not ?String.
}

Within the body of a (foo != null) block, foo is
(Continue reading)

Isaac Gouy | 21 Oct 22:46
Picon
Favicon
Gravatar

Nice analyzed in "Multiple Dispatch in Practice"

"Multiple Dispatch in Practice" 

http://homepages.mcs.vuw.ac.nz/~muscheradu/publications/MuscheviciPotaninTemperoNobleMMSubmitted.pdf

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Isaac Gouy | 15 Apr 19:25
Picon
Favicon
Gravatar

Bjarne Stroustrup: Is multiple dispatch a good thing? - Yes.

"Languages that support multiple dispatch at run time (like Dylan and
CLOS) do better and languages (such as C++) that support it at compile
time can sometimes help a bit."

http://msdn2.microsoft.com/en-us/magazine/cc500572.aspx

"Open Multi-Methods for C++"

http://research.att.com/~bs/multimethods.pdf

      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Dan Shryock | 29 Mar 00:01
Picon

iterator and tuple with forIterator

As an experiment to become more familiar with nice, I decided to try
to build a new forIterator method for maps that allows you to iterate
over a tuple of key values.  The forIterator looks like the following,
and works fine:

<K,V> Iterator<(K,V)> forIterator(Map<K,V> map){
	let entries = map.entrySet().iterator();
	return (() => {
		if(entries.hasNext()){
			let entry = entries.next();
			return (entry.getKey(),entry.getValue());
		}
		return stop();
	}).iterator();
}

However to use the forIterator, I had to place a temporary variable as
the item in the for statement, then pull the values out inside the
loop.
void main(String[] args){

	Map<String,String> mapdata = listToMap([
					("test1","Bla1"),
					("test2","Bla2")
					]);

	//This works
	for(entry :mapdata){
		(String key, String value) = entry;
		println("Map Iteration Test:" key "=" value);
(Continue reading)

Yauheni Akhotnikau | 5 Mar 08:28
Picon
Favicon

Nice syntax highligthing for SciTE

	Hi!

Subj is here: http://files.rsdn.ru/46291/N4S.zip
Written by Klapaucius (http://www.rsdn.ru/Users/46291.aspx)

--

-- 
Regards,
Yauheni Akhotnikau
Senior Programmer
Intervale
e-mail:eao197 <at> intervale.ru <mailto:eao197 <at> intervale.ru>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Dan Shryock | 15 Feb 20:52
Picon

Overriding == for strings

As a simple test, I am trying to override the == operator for string
comparison.  The problem that I am running into is that I see no way
to do a reference test once you override the method.  In some
languages I have seen an === operator that always does a strict
reference test.  Is there any way to do something similar in nice?

Dan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Yauheni Akhotnikau | 9 Feb 17:07
Picon
Favicon

Nice's DbC vs Eiffel DbC

Hi!

Nice has the special syntax for overriding methods in derived classes:

class Base { public void f() { …  } }
class Derived extends Base { f() { … } }

But, if a method defines precondition then there isn’t a possibility to  
override such method – compiler informs about syntax error:

class Base
	{
		public void test( String value )
			requires value.length > 8 : "value must be at least 8 symbols"
			{
				println( "Base#test: value: " value );
			}
	}

class Derived extends Base
	{
		test( value )
			requires value.length > 0 : "value cannot be empty"
			{
				println( "Derived#test: value: " value );
			}
	}

void main( String[] args )
	{
(Continue reading)


Gmane