- Start Date: (fill me in with today's date, YYYY-MM-DD)
- RFC PR: (leave this empty)
- Rust Issue: (leave this empty)
Use ellipses ...
instead of the current double dot notation ..
for elision in patterns, such as in match
expressions.
example:
trait MyFirstTrait { | |
fn my_first_func() -> (); | |
} | |
trait MySecondTrait { | |
fn my_second_func() -> (); | |
fn my_third_func() -> (); | |
} | |
struct MyStruct; |
class Point(object): | |
def __init__(self,x,y): | |
self.x = x | |
self.y = y | |
def set(self,x,y): | |
self.x = x | |
self.y = y | |
def getx(self): |
from com.badlogic.gdx import ApplicationListener, Gdx | |
from com.badlogic.gdx.graphics.g2d import SpriteBatch | |
from com.badlogic.gdx.graphics import Texture, OrthographicCamera, GL10 | |
class GdxJython(ApplicationListener): | |
def __init__(self): | |
self.camera = None | |
self.batch = None |
(ns cljdx.core | |
(:require [cljdx.drop :as drop]) | |
(:import (com.badlogic.gdx.backends.lwjgl LwjglApplication))) | |
(defn -main | |
"I don't do a whole lot." | |
[& args] | |
(LwjglApplication. | |
(cljdx.drop.) "Hello, Clojure!" 800 480 true)) |
package com.badlogic.drop; | |
import com.badlogic.gdx.Game; | |
import com.badlogic.gdx.graphics.g2d.BitmapFont; | |
import com.badlogic.gdx.graphics.g2d.SpriteBatch; | |
public class Drop extends Game { | |
SpriteBatch batch; | |
BitmapFont font; |