Skip to content

Instantly share code, notes, and snippets.

package example
import scala.xml._
import scala.xml.transform._
object Hello extends App {
val xml = """
|<root>
|<p><a href="http://foo@gmail.com">abc</a></p>
|<p><a href="http://foo.com">abc</a></p>
@ababup1192
ababup1192 / Main.elm
Last active June 8, 2020 20:29
RPN(逆ポーランド記法)
module Main exposing (main)
import Browser
import Html exposing (Html, input, main_, p, text)
import Html.Attributes exposing (class, placeholder, value)
import Html.Events exposing (onInput)
-- MAIN
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
// Collatz.check() checks the Collatz conjecture for a given
// number n.
// Now, to prove the conjecture to be correct, we would need to
// to verify it for all n.
// This is not possible to check for all n with a given computer
package main
import (
"fmt"
"net/http"
"strconv"
"strings"
)
func main() {
package org.abab;
import java.util.Objects;
public class GoodsPair {
public final String name1;
public final String name2;
public GoodsPair(String name1, String name2) {
this.name1 = name1;
@ababup1192
ababup1192 / Main.java
Created April 7, 2020 13:32
swing hello
package org.abab;
import javax.swing.*;
import java.awt.*;
public class Main {
public static void main(String[] args) {
JFrame frame = new JFrame("Hello label");
frame.setSize(300, 200);
module Main exposing (main)
import Browser
import Html exposing (Html, input, li, text, ul)
import Html.Attributes exposing (value)
import Html.Events exposing (onInput)
-- MAIN
public class Main {
public static void main(String args[]) {
Point p1 = new Point(1, 1);
Point p2 = new Point(2, 3);
Point p3 = new Point(1, 1);
// false
System.out.println(p1.equals(p2));
// true
Hello, World!

Elmロードマップ

(なんでロードマップが必要なのか書く)

Elm Guideをさらっと一周

Elm Guideをさらっと一周しましょう。

Elm Syntaxを読む