This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| daml 1.2 | |
| module Demo where | |
| template Loan | |
| with | |
| owner : Party | |
| where | |
| signatory owner | |
| controller owner can |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| daml 1.2 | |
| module ContractKeys where | |
| type TodoKey = (Text, Party, Party, Party) | |
| data Content = Content with | |
| maintainer1 : Party | |
| maintainer2 : Party | |
| maintainer3 : Party | |
| category : Text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| daml 1.2 | |
| module BDD ( | |
| ScenarioDescription | |
| , describe | |
| , it | |
| , context | |
| , pending | |
| , pendingWith | |
| ) where |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| daml 1.2 | |
| module Airline where | |
| import DA.Assert | |
| import DA.List | |
| import DA.Optional | |
| import DA.Next.Map as M | |
| data SeatClass | |
| = Economy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [user] | |
| name = "your name" | |
| email = "me@email.com" | |
| [web] | |
| browser = google-chrome | |
| [core] | |
| editor = vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.springframework.test.web.servlet.MvcResult; | |
| import org.springframework.test.web.servlet.ResultMatcher; | |
| import org.springframework.validation.BindingResult; | |
| import org.springframework.web.servlet.ModelAndView; | |
| import java.util.Arrays; | |
| import static org.springframework.test.util.AssertionErrors.assertTrue; | |
| import static org.springframework.test.util.AssertionErrors.fail; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export enum AsyncActionType { | |
| GET_ALL_TODO_REQUEST = 'todo/GET_ALL_TODO_REQUEST', | |
| GET_ALL_TODO_SUCCESS = 'todo/GET_ALL_TODO_SUCCESS', | |
| GET_ALL_TODO_ERROR = 'todo/GET_ALL_TODO_ERROR', | |
| } | |
| export type Action = | |
| GetAllTodo.ApiRequest | |
| | GetAllTodo.ApiSuccess | |
| | GetAllTodo.ApiError |