summary refs log tree commit diff stats
path: root/commands/msg/forward.go
diff options
context:
space:
mode:
authorWagner Riffel <wgrriffel@gmail.com>2019-09-03 16:34:03 -0300
committerDrew DeVault <sir@cmpwn.com>2019-09-04 16:30:57 -1000
commit6838c23478944a9b45df1fa9a0f432ec77423987 (patch)
treedf6c5eb1c3bb4af779f98dd5ec9fa2d5b7658b4f /commands/msg/forward.go
parentc6b776adbfb11ba34756a1d4f770b15c2fb3cb46 (diff)
downloadaerc-6838c23478944a9b45df1fa9a0f432ec77423987.tar.gz
all: purge redundant underscores
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
Diffstat (limited to 'commands/msg/forward.go')
-rw-r--r--commands/msg/forward.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/msg/forward.go b/commands/msg/forward.go
index 7f23a0a..b925a49 100644
--- a/commands/msg/forward.go
+++ b/commands/msg/forward.go
@@ -23,15 +23,15 @@ func init() {
 	register(forward{})
 }
 
-func (_ forward) Aliases() []string {
+func (forward) Aliases() []string {
 	return []string{"forward"}
 }
 
-func (_ forward) Complete(aerc *widgets.Aerc, args []string) []string {
+func (forward) Complete(aerc *widgets.Aerc, args []string) []string {
 	return nil
 }
 
-func (_ forward) Execute(aerc *widgets.Aerc, args []string) error {
+func (forward) Execute(aerc *widgets.Aerc, args []string) error {
 	opts, optind, err := getopt.Getopts(args, "A")
 	if err != nil {
 		return err
hlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
main =>
S = 0,
    I = 1,
    F = fib(I),
    while (F <= 4000000)
        if (F mod 2 == 0) then
            S := S+F
        end,
        I := I+1,
        F := fib(I)
    end,
    printf("Sum of the even-valued terms is %w%n",S).
main([A1]) =>
    printf("fib(%s)=%w%n",A1,A1.to_integer().fib()).
table
fib(1) = 1.
fib(2) = 2.
fib(N) = fib(N-1)+fib(N-2).