29 Premium Themes

Included with purchase — and more features on the way!

Get access — $12 once

Version 2 is coming soon. The price goes up when it arrives.
Pay once today and every update after that is free.

One Dark Pro
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Andromeda
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Ayu Dark
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Ayu Mirage
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Ayu Light
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Cobalt2
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Night Owl
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Night Owl Light
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Azureus
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Bordo
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Hibernus
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Lilac
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Lux
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Minimus
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Obscuro
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Sereno
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Uva
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Noctis Viola
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Palenight
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Pico 8
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Shades of Purple
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Shades of Purple SD
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Synthwave '84
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Tokyo Night
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Tokyo Night Storm
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Tokyo Night Light
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Winter is Coming
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Winter is Coming Light
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr
Winter is Coming Dark
struct Foo(T)
end

Foo(Int32)

# ---
struct Foo
end

# struct Bar < Foo
# end
# Error in ./struct/struct.cr:10: can't extend non-abstract struct Foo

abstract struct AbstractFoo
end

struct Bar < AbstractFoo
end

# ---
struct Test
  def initialize(@test : String)
  end
end

Test.new("foo")

# ---
struct User
  property name, age

  def initialize(@name : String, @age : Int32)
  end

  def print
    puts "#{age} - #{name}"
  end
end

puts User.new("osman", 3).name
User.new("ali", 9).print

# From https://github.com/askn/crystal-by-example/blob/master/struct/struct.cr